Package ej.bluetooth

Class BluetoothDescriptor


  • public class BluetoothDescriptor
    extends BluetoothAttribute
    The 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.

    • Constructor Detail

      • BluetoothDescriptor

        public BluetoothDescriptor()
    • Method Detail

      • getCharacteristic

        public BluetoothCharacteristic getCharacteristic()
        Returns the characteristic to which this descriptor belongs.
        Returns:
        the descriptor to which this descriptor belongs.