CallEndedEvent

data class CallEndedEvent(    @Json(name = "call_cid") val callCid: String,     @Json(name = "created_at") val createdAt: OffsetDateTime,     @Json(name = "call") val call: CallResponse,     @Json(name = "type") val type: String,     @Json(name = "user") val user: UserResponse? = null) : VideoEvent, WSCallEvent

This event is sent when a call is mark as ended for all its participants. Clients receiving this event should leave the call screen

Constructors

Link copied to clipboard
constructor(    @Json(name = "call_cid") callCid: String,     @Json(name = "created_at") createdAt: OffsetDateTime,     @Json(name = "call") call: CallResponse,     @Json(name = "type") type: String,     @Json(name = "user") user: UserResponse? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
Link copied to clipboard
val user: UserResponse? = null

Functions

Link copied to clipboard
open override fun getCallCID(): String
Link copied to clipboard
open override fun getEventType(): String