CallNotificationEvent

data class CallNotificationEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "members") val members: List<MemberResponse>, @Json(name = "session_id") val sessionId: String, @Json(name = "type") val type: String = "call.notification", @Json(name = "user") val user: UserResponse) : VideoEvent, WSCallEvent

This event is sent to all call members to notify they are getting called

Parameters

call
callCid
createdAt
members

Call members

sessionId

Call session ID

type

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

user

Constructors

Link copied to clipboard
constructor(@Json(name = "call") call: CallResponse, @Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "members") members: List<MemberResponse>, @Json(name = "session_id") sessionId: String, @Json(name = "type") type: String = "call.notification", @Json(name = "user") user: UserResponse)

Properties

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

Functions

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