ListenerState

data class ListenerState(version: String?, data: ListenerState.Data, error: Boolean?, account: String?) : ClientMessageWrapper

prior attempt to indicate signald connectivity state. WebSocketConnectionState messages will be delivered at the same time as well as in other parts of the websocket lifecycle.

Constructors

Link copied to clipboard
fun ListenerState(version: String? = null, data: ListenerState.Data, error: Boolean? = false, account: String? = null)

Types

Link copied to clipboard
data class Data(connected: Boolean?) : ClientMessageWrapper.Data

Properties

Link copied to clipboard
open override val account: String? = null

the account this message is from

Link copied to clipboard
open override val data: ListenerState.Data

the incoming object. The structure will vary from message to message, see type and version fields

Link copied to clipboard
open override val error: Boolean? = false

true if the incoming message represents an error

Link copied to clipboard
open override val version: String? = null

the version of the object in the data field