Idle
data class Idle(val reconnectionSettings: ConnectionSettings.ReconnectionSettings, val mtu: MTU?, val services: List<Service>, val mockConnectableDeviceManager: MockConnectableDeviceManager) : MockDeviceState.Connected.DiscoveredServices, ConnectableDeviceState.Connected.Idle
Constructors
Link copied to clipboard
constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings, mtu: MTU?, services: List<Service>, mockConnectableDeviceManager: MockConnectableDeviceManager)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open override fun handleAction(action: DeviceAction): suspend () -> ConnectableDeviceState.Connected.HandlingAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun updateReconnectionSettings(reconnectionSettings: ConnectionSettings.ReconnectionSettings): suspend () -> MockDeviceState.Connected.Idle