IBluetoothGattCharacteristic

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

Inheritors

Properties

Link copied to clipboard

List of descriptors of this characteristic.

Link copied to clipboard
abstract val instanceId: Int

Instance id of a characteristic.

Link copied to clipboard
abstract val permissions: Int

Not parsed permissions of a characteristic as Int.

Link copied to clipboard
abstract val properties: Int

Not parsed properties of a characteristic as Int.

Link copied to clipboard
abstract val uuid: UUID

UUID of a characteristic.

Link copied to clipboard
abstract var value: DataByteArray

ByteArray value of this characteristic.

Link copied to clipboard
abstract var writeType: Int

Not parsed write type of a characteristic.