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
狀態