BluetoothGattCallback

public abstract class BluetoothGattCallback extends Object

公共构造函数摘要

公共方法摘要

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

继承的方法摘要

公共构造函数

public BluetoothGattCallback ()

公共方法

public void onCharacteristicChanged (BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)

参数
gatt
特征

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

参数
gatt
特征
状态

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

参数
gatt
特征
状态

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

参数
gatt
状态
newState

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

参数
gatt
描述符
状态

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

参数
gatt
描述符
状态

public void onServicesDiscovered (BluetoothGatt gatt, int status)

参数
gatt
状态