IBluetoothGattDescriptor

Interface representing bluetooth gatt descriptor. It's task is to hide an implementation which can be both NativeBluetoothGattDescriptor (which is a wrapper around native Android BluetoothGattDescriptor) or MockBluetoothGattDescriptor. The role of an interface is to hide a detailed implementation and separate native Android BluetoothGattDescriptor for mock variant as it can't be unit tested.

Inheritors

Properties

Link copied to clipboard

Parent characteristic of this descriptor. There is a circular dependency between a characteristic and a descriptor which makes usage of an underline data classes tricky.

Link copied to clipboard
abstract val permissions: Int

Not parsed permissions of a descriptor as Int.

Link copied to clipboard
abstract val uuid: UUID

UUID of a descriptor.

Link copied to clipboard
abstract var value: DataByteArray

ByteArray value of this descriptor.