ConnectedEvent
data class ConnectedEvent(@Json(name = "connection_id") val connectionId: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "me") val me: OwnUserResponse, @Json(name = "type") val type: String = "connection.ok") : VideoEvent, WSClientEvent
This event is sent when the WS connection is established and authenticated, this event contains the full user object as it is stored on the server
Parameters
connectionId
The connection_id for this client
createdAt
me
type
The type of event: \"connection.ok\" in this case
Constructors
Link copied to clipboard
constructor(@Json(name = "connection_id") connectionId: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "me") me: OwnUserResponse, @Json(name = "type") type: String = "connection.ok")