Package ej.bluetooth
Class BluetoothDescriptor
- java.lang.Object
-
- ej.bluetooth.BluetoothAttribute
-
- ej.bluetooth.BluetoothDescriptor
-
public class BluetoothDescriptor extends BluetoothAttribute
TheBluetoothDescriptorclass represents a remote or a local GATT descriptor.Remote descriptors may be retrieved by
getting the descriptorsof a remote characteristic.Local descriptors may be retrieved by
adding a local serviceto the adapter.This class provides a method to get the characteristic to which the descriptor belongs.
-
-
Constructor Summary
Constructors Constructor Description BluetoothDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BluetoothCharacteristicgetCharacteristic()Returns the characteristic to which this descriptor belongs.-
Methods inherited from class ej.bluetooth.BluetoothAttribute
getService, getUuid
-
-
-
-
Method Detail
-
getCharacteristic
public BluetoothCharacteristic getCharacteristic()
Returns the characteristic to which this descriptor belongs.- Returns:
- the descriptor to which this descriptor belongs.
-
-