public class BluetoothDescriptor extends BluetoothAttribute
BluetoothDescriptor class represents a remote or a local GATT descriptor.
Remote descriptors may be retrieved by getting the descriptors of
a remote characteristic.
Local descriptors may be retrieved by adding a local service to the adapter.
This class provides a method to get the characteristic to which the descriptor belongs.
| Modifier and Type | Method and Description |
|---|---|
BluetoothCharacteristic |
getCharacteristic()
Returns the characteristic to which this descriptor belongs.
|
getService, getUuidpublic BluetoothCharacteristic getCharacteristic()