public interface DescriptorFilter
BluetoothGattCharacteristic
s with the same UUID
, in the same
BluetoothGattService
. You use this interface to decide which BluetoothGattCharacteristic
you want to perform an operation on using any of the read(), or write() methods which accept this
Interface as an argument.Modifier and Type | Interface and Description |
---|---|
static class |
DescriptorFilter.DescriptorEvent
Event class which is an argument in the
onEvent(DescriptorEvent) method of the
DescriptorFilter interface. |
static class |
DescriptorFilter.Please
Class used to dictate if the current
BluetoothGattCharacteristic is the correct one to operate on
by looking at it's BluetoothGattDescriptor value. |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
descriptorUuid()
Return the
UUID of the descriptor you want to read to distinguish which BluetoothGattCharacteristic you would
like to perform an op on. |
DescriptorFilter.Please |
onEvent(DescriptorFilter.DescriptorEvent event)
Method called when trying to determine which
BluetoothGattCharacteristic to perform the operation on. |
DescriptorFilter.Please onEvent(DescriptorFilter.DescriptorEvent event)
BluetoothGattCharacteristic
to perform the operation on.java.util.UUID descriptorUuid()
UUID
of the descriptor you want to read to distinguish which BluetoothGattCharacteristic
you would
like to perform an op on.