HandlingAction
data class HandlingAction(val reconnectionSettings: ConnectionSettings.ReconnectionSettings, val mtu: MTU?, val services: List<RemoteService>, val action: DeviceAction<*>, val nextActions: List<DeviceAction<*>>, val mockConnectableDeviceManager: MockConnectableDeviceManager) : MockDeviceState.Connected.DiscoveredServices, ConnectableDeviceState.Connected.HandlingAction
Constructors
Link copied to clipboard
constructor(reconnectionSettings: ConnectionSettings.ReconnectionSettings, mtu: MTU?, services: List<RemoteService>, action: DeviceAction<*>, nextActions: List<DeviceAction<*>>, mockConnectableDeviceManager: MockConnectableDeviceManager)
Properties
Functions
Link copied to clipboard
open override fun actionCompleted(response: GattResponse): suspend () -> ConnectableDeviceState.Connected.DiscoveredServices
Link copied to clipboard
open override fun addAction(newAction: 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.HandlingAction