BluetoothDescriptor

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class BluetoothDescriptor(val uuid: String)

Marks a class as a GATT descriptor of a BluetoothCharacteristic. Like a characteristic, its properties define the descriptor's value(s) and access.

NOTE: Descriptors for servers are not supported by Apple platforms.

Properties

Link copied to clipboard

the descriptor UUID, either 16-bit shorthand or the full 128-bit form.