BluetoothGattCallback

public abstract class BluetoothGattCallback extends Object

Public Constructor Summary

Public Method Summary

void
void
void
void
onConnectionStateChange(BluetoothGatt gatt, int status, int newState)
void
void
void

Inherited Method Summary

Public Constructors

public BluetoothGattCallback ()

Public Methods

public void onCharacteristicChanged (BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)

Parameters
gatt
characteristic

public void onCharacteristicRead (BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status)

Parameters
gatt
characteristic
status

public void onCharacteristicWrite (BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status)

Parameters
gatt
characteristic
status

public void onConnectionStateChange (BluetoothGatt gatt, int status, int newState)

Parameters
gatt
status
newState

public void onDescriptorRead (BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status)

Parameters
gatt
descriptor
status

public void onDescriptorWrite (BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status)

Parameters
gatt
descriptor
status

public void onServicesDiscovered (BluetoothGatt gatt, int status)

Parameters
gatt
status