CharacteristicOperationReceived

@Serializable
data class CharacteristicOperationReceived(val characteristicId: String, val type: CharacteristicOperationType, val data: String? = null, val writeType: CharacteristicWriteType? = null) : BluetoothEmulationEvent

Event for when a characteristic operation of |type| to the characteristic respresented by |characteristicId| happened. |data| and |writeType| is expected to exist when |type| is write.

Official doc

Constructors

Link copied to clipboard
constructor(characteristicId: String, type: CharacteristicOperationType, data: String? = null, writeType: CharacteristicWriteType? = null)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
val data: String?

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)