Types

Link copied to clipboard
object Connected : State

Peripheral is ready (i.e. has connected, discovered services and wired up observers).

Link copied to clipboard
sealed class Connecting : State
Link copied to clipboard
data class Disconnected(val status: State.Disconnected.Status? = null) : State

Triggered either after an established connection has dropped or after a connection attempt has failed.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String