StatusEvent

class StatusEvent(val type: SubscriptionStatusType, val message: String, val fields: Map<String, String>) : Event<Nothing> (source)

An Event reporting a subscription status change.

Constructors

Link copied to clipboard
constructor(type: SubscriptionStatusType, message: String, fields: Map<String, String>)

Properties

Link copied to clipboard

any fields delivered alongside the status.

Link copied to clipboard

the accompanying status message, or empty if none.

Link copied to clipboard
val type: SubscriptionStatusType

the status type reported by the server (e.g. STATUS_OK).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String