DeviceAction

sealed class DeviceAction

An action a Device can execute on one of its com.splendo.kaluga.bluetooth.Attribute

Inheritors

Types

Link copied to clipboard
sealed class Notification : DeviceAction

A DeviceAction that updates that notifying status of a com.splendo.kaluga.bluetooth.Characteristic

Link copied to clipboard
sealed class Read : DeviceAction
Link copied to clipboard
sealed class Write : DeviceAction

A DeviceAction that attempts to write a value to an com.splendo.kaluga.bluetooth.Attribute

Properties

Link copied to clipboard
val completedSuccessfully: CompletableDeferred<Boolean>

A Deferred that will be completed with true if DeviceAction was completed successfully, or false if DeviceAction failed