public class BaseBluetoothGattCallback
extends android.bluetooth.BluetoothGattCallback
Constructor and Description |
---|
BaseBluetoothGattCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onCharacteristicChanged(android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattCharacteristic characteristic) |
void |
onCharacteristicRead(android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattCharacteristic characteristic,
int status) |
void |
onCharacteristicWrite(android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattCharacteristic characteristic,
int status) |
void |
onConnectionStateChange(android.bluetooth.BluetoothGatt gatt,
int status,
int newState) |
void |
onDescriptorRead(android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattDescriptor descriptor,
int status) |
void |
onDescriptorWrite(android.bluetooth.BluetoothGatt gatt,
android.bluetooth.BluetoothGattDescriptor descriptor,
int status) |
void |
onReadRemoteRssi(android.bluetooth.BluetoothGatt gatt,
int rssi,
int status) |
void |
onReliableWriteCompleted(android.bluetooth.BluetoothGatt gatt,
int status) |
void |
onServicesDiscovered(android.bluetooth.BluetoothGatt gatt,
int status) |
public void onConnectionStateChange(android.bluetooth.BluetoothGatt gatt, int status, int newState)
onConnectionStateChange
in class android.bluetooth.BluetoothGattCallback
public void onServicesDiscovered(android.bluetooth.BluetoothGatt gatt, int status)
onServicesDiscovered
in class android.bluetooth.BluetoothGattCallback
public void onCharacteristicRead(android.bluetooth.BluetoothGatt gatt, android.bluetooth.BluetoothGattCharacteristic characteristic, int status)
onCharacteristicRead
in class android.bluetooth.BluetoothGattCallback
public void onCharacteristicWrite(android.bluetooth.BluetoothGatt gatt, android.bluetooth.BluetoothGattCharacteristic characteristic, int status)
onCharacteristicWrite
in class android.bluetooth.BluetoothGattCallback
public void onCharacteristicChanged(android.bluetooth.BluetoothGatt gatt, android.bluetooth.BluetoothGattCharacteristic characteristic)
onCharacteristicChanged
in class android.bluetooth.BluetoothGattCallback
public void onDescriptorRead(android.bluetooth.BluetoothGatt gatt, android.bluetooth.BluetoothGattDescriptor descriptor, int status)
onDescriptorRead
in class android.bluetooth.BluetoothGattCallback
public void onDescriptorWrite(android.bluetooth.BluetoothGatt gatt, android.bluetooth.BluetoothGattDescriptor descriptor, int status)
onDescriptorWrite
in class android.bluetooth.BluetoothGattCallback
public void onReliableWriteCompleted(android.bluetooth.BluetoothGatt gatt, int status)
onReliableWriteCompleted
in class android.bluetooth.BluetoothGattCallback
public void onReadRemoteRssi(android.bluetooth.BluetoothGatt gatt, int rssi, int status)
onReadRemoteRssi
in class android.bluetooth.BluetoothGattCallback