Types

Link copied to clipboard

Event indicating a DeviceAction should be scheduled

Link copied to clipboard

Event indicating the device cancelled connecting

Link copied to clipboard
data class CompletedAction(val action: DeviceAction?, val succeeded: Boolean) : DeviceConnectionManager.Event

Event indicating the device completed executing a DeviceAction

Link copied to clipboard

Event indicating the device did connect

Link copied to clipboard

Event indicating the device started connecting

Link copied to clipboard
data class Disconnected(val onDisconnect: suspend () -> Unit) : DeviceConnectionManager.Event

Event indicating the device did disconnect

Link copied to clipboard

Event indicating the device started disconnecting

Link copied to clipboard

Event indicating the device has discovered a list of Service

Link copied to clipboard

Event indicating the device started discovering services

Link copied to clipboard
data class MtuUpdated(val newMtu: MTU) : DeviceConnectionManager.Event

Event indicating the device has updated its MTU size