ServerBleGattCharacteristicConfig

data class ServerBleGattCharacteristicConfig(val uuid: UUID, val properties: List<BleGattProperty> = emptyList(), val permissions: List<BleGattPermission> = emptyList(), val descriptorConfigs: List<ServerBleGattDescriptorConfig> = emptyList(), val initialValue: DataByteArray? = null)

A configuration class which is used as a prescription to create IBluetoothGattCharacteristic.

Constructors

Link copied to clipboard
constructor(uuid: UUID, properties: List<BleGattProperty> = emptyList(), permissions: List<BleGattPermission> = emptyList(), descriptorConfigs: List<ServerBleGattDescriptorConfig> = emptyList(), initialValue: DataByteArray? = null)

Properties

Link copied to clipboard

Descriptor configs of a characteristic being created.

Link copied to clipboard

Helper property telling if the characteristic will have indication/notification feature.

Link copied to clipboard

Initial value of a characteristic being created.

Link copied to clipboard

Permissions of a characteristic being created.

Link copied to clipboard

Properties of a characteristic being created.

Link copied to clipboard
val uuid: UUID

UUID of a characteristic being created.