CallUpdatedEvent

data class CallUpdatedEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "capabilities_by_role") val capabilitiesByRole: Map<String, List<String>>, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "type") val type: String = "call.updated") : VideoEvent, WSCallEvent

This event is sent when a call is updated, clients should use this update the local state of the call. This event also contains the capabilities by role for the call, clients should update the own_capability for the current.

Parameters

call
callCid
capabilitiesByRole

The capabilities by role for this call

createdAt
type

The type of event: \"call.ended\" in this case

Constructors

Link copied to clipboard
constructor(@Json(name = "call") call: CallResponse, @Json(name = "call_cid") callCid: String, @Json(name = "capabilities_by_role") capabilitiesByRole: Map<String, List<String>>, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "type") type: String = "call.updated")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard

Functions

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