PreviewRemoteCharacteristic
constructor(shortUuid: Int, instanceId: Int = 0, properties: List<CharacteristicProperty> = emptyList(), isNotifying: Boolean = false, builder: CharacteristicScope.() -> Unit = {})
Creates a preview characteristic from a Characteristic Scope.
Parameters
shortUuid
A 16 or 32 bit short UUID assigned by Bluetooth SIG.
instanceId
The instance ID of the characteristic, defaults to 0.
properties
The properties of the characteristic, defaults to an empty list.
isNotifying
Whether the characteristic is notifying, defaults to false.
builder
The characteristic builder.
constructor(uuid: Uuid, instanceId: Int = 0, properties: List<CharacteristicProperty> = emptyList(), isNotifying: Boolean = false, builder: CharacteristicScope.() -> Unit = {})
Creates a preview characteristic from a Characteristic Scope.
Parameters
uuid
The service UUID.
instanceId
The instance ID of the characteristic, defaults to 0.
properties
The properties of the characteristic, defaults to an empty list.
isNotifying
Whether the characteristic is notifying, defaults to false.
builder
The characteristic builder.