ConnectionStatusDetail

data class ConnectionStatusDetail(val status: StringResource, val retry: RetryCountdown?, val failure: StringResource?, val canConnect: Boolean = false)(source)

What the connecting card says under the device for one ConnectionState.

Constructors

Link copied to clipboard
constructor(status: StringResource, retry: RetryCountdown?, failure: StringResource?, canConnect: Boolean = false)

Properties

Link copied to clipboard

whether the client stopped trying, so only the user connecting again brings it back.

Link copied to clipboard
val failure: StringResource?

why the last attempt failed, in plain words. The platform's own message stays in the log.

Link copied to clipboard

the countdown to the next attempt while the client waits out a backoff.

Link copied to clipboard
val status: StringResource

what the connection is doing, shown unless retry stands in for it.