LocalDescriptorWrapper

actual interface LocalDescriptorWrapper

Accessor to the platform level Local Bluetooth descriptor.

Implemented per platform by DefaultLocalDescriptorWrapper (wrapping the framework descriptor) and mockable in tests.

Inheritors

actual interface LocalDescriptorWrapper

Accessor to the platform level Local Bluetooth descriptor.

Implemented per platform by DefaultLocalDescriptorWrapper (wrapping the framework descriptor) and mockable in tests.

Inheritors

expect interface LocalDescriptorWrapper

Accessor to the platform level Local Bluetooth descriptor.

Implemented per platform by DefaultLocalDescriptorWrapper (wrapping the framework descriptor) and mockable in tests.

Properties

Link copied to clipboard

Identity used to correlate this descriptor with incoming GATT callbacks.

Link copied to clipboard
actual abstract val uuid: UUID
actual abstract val uuid: UUID
expect abstract val uuid: UUID

Functions

Link copied to clipboard
abstract fun addToCharacteristic(characteristic: BluetoothGattCharacteristic)

Adds the descriptor to a BluetoothGattCharacteristic

abstract fun addToCharacteristic(characteristic: CBMutableCharacteristic)

Adds the descriptor to a CBMutableCharacteristic