Discovering
A Connected State where the device is discovering the list of RemoteService
Properties
Link copied to clipboard
Transitions into a Disconnected State
Link copied to clipboard
Transitions into a Disconnecting State
Link copied to clipboard
Transitions into a Connecting State
Link copied to clipboard
The ConnectionSettings.ReconnectionSettings to use for reconnecting when the device disconnects unexpectedly
Functions
Link copied to clipboard
abstract fun didDiscoverServices(services: List<RemoteService>): suspend () -> ConnectableDeviceState.Connected.Idle
Discovers a list of RemoteService to transition into Idle
Link copied to clipboard
Link copied to clipboard
Starts transitioning to a Disconnected State
Link copied to clipboard
abstract fun updateReconnectionSettings(reconnectionSettings: ConnectionSettings.ReconnectionSettings): suspend () -> ConnectableDeviceState.Connected
Transitions into a Connected state where the the Connected.reconnectionSettings have been updated to reconnectionSettings