BluetoothGattCallback

public abstract class BluetoothGattCallback extends Object

Tóm tắt hàm khởi tạo công khai

Tóm tắt phương thức công khai

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

Tóm tắt phương thức kế thừa

Hàm khởi tạo công khai

public BluetoothGattCallback ()

Phương thức công khai

public void onCharacteristicChanged (BluetoothGatt gatt, BluetoothGattCharacteristic characteristic)

Thông số
gatt
đặc điểm

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

Thông số
gatt
đặc điểm
trạng thái

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

Thông số
gatt
đặc điểm
trạng thái

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

Thông số
gatt
trạng thái
newState

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

Thông số
gatt
bộ mô tả
trạng thái

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

Thông số
gatt
bộ mô tả
trạng thái

public void onServicesDiscovered (BluetoothGatt gatt, int status)

Thông số
gatt
trạng thái