ListenerState

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

indicates when the incoming connection to the signal server has started or stopped

Constructors

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

Types

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

Properties

data
Link copied to clipboard
common
open override val data: ListenerState.Data
the incoming object.
error
Link copied to clipboard
common
open override val error: Boolean? = false
true if the incoming message represents an error
version
Link copied to clipboard
common
open override val version: String? = null
the version of the object in the data field