CustomVideoEvent

data class CustomVideoEvent(    @Json(name = "call_cid") val callCid: String,     @Json(name = "created_at") val createdAt: OffsetDateTime,     @Json(name = "custom") val custom: Map<String, Any?> = emptyMap(),     @Json(name = "user") val user: UserResponse,     @Json(name = "type") val type: String) : VideoEvent, WSCallEvent

A custom event, this event is used to send custom events to other participants in the call.

Constructors

Link copied to clipboard
constructor(    @Json(name = "call_cid") callCid: String,     @Json(name = "created_at") createdAt: OffsetDateTime,     @Json(name = "custom") custom: Map<String, Any?> = emptyMap(),     @Json(name = "user") user: UserResponse,     @Json(name = "type") type: String)

Properties

Link copied to clipboard
Link copied to clipboard
val createdAt: OffsetDateTime
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