DescriptorWrapper

expect interface DescriptorWrapper

Accessor to the platform level Bluetooth Descriptor

actual interface DescriptorWrapper

Accessor to a CBDescriptor

Inheritors

actual interface DescriptorWrapper

JavaScript accessor to a Bluetooth descriptor. Not Actually implemented

actual interface DescriptorWrapper

Java accessor to a Bluetooth descriptor. Not Actually implemented

Properties

Link copied to clipboard
Link copied to clipboard
abstract val permissions: Int

The integer representing all permissions for the descriptor

Link copied to clipboard
actual abstract val uuid: UUID

The UUID of the descriptor

expect abstract val uuid: UUID

The UUID of the descriptor

actual abstract val uuid: UUID

The UUID of the descriptor

actual abstract val uuid: UUID

The UUID of the descriptor

actual abstract val uuid: UUID

The UUID of the descriptor

Link copied to clipboard
actual abstract val value: Value?

The current Value of the descriptor

expect abstract val value: Value?

The current Value of the descriptor

actual abstract val value: Value?

The current Value of the descriptor

actual abstract val value: Value?

The current Value of the descriptor

actual abstract val value: Value?

The current Value of the descriptor

Functions

Link copied to clipboard
abstract fun readValue(peripheral: <Error class: unknown class>)

Request a CBPeripheral to read the descriptor

Link copied to clipboard
abstract fun updateValue(value: ByteArray?)

Accessor for updating DescriptorWrapper.value

Link copied to clipboard
abstract fun writeValue(value: <Error class: unknown class>, peripheral: <Error class: unknown class>)

Request a CBPeripheral to write value to the descriptor