CharacteristicUpdate
public abstract class CharacteristicUpdate extends Object
Constructors
Name | Description |
---|---|
public CharacteristicUpdate()
|
Methods
of
public static CharacteristicUpdate of(Peripheral peripheral, BluetoothGattCharacteristic characteristic)
Creates a new instance of CharacteristicUpdate.
Parameters
Name | Description |
---|---|
Peripheral peripheral
|
|
BluetoothGattCharacteristic characteristic
|
ReturnValue
Name | Description |
---|---|
CharacteristicUpdate
|
peripheral
public abstract Peripheral peripheral()
The peripheral that reported the event.
ReturnValue
Name | Description |
---|---|
Peripheral
|
characteristic
public abstract BluetoothGattCharacteristic characteristic()
The characteristic that was updated.
ReturnValue
Name | Description |
---|---|
BluetoothGattCharacteristic
|
Data class emitted byBleAdapterwhen a read, write or notification callback is received.