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?>, @Json(name = "type") val type: String = "custom", @Json(name = "user") val user: UserResponse) : VideoEvent, WSCallEvent

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

Parameters

callCid
createdAt
custom

Custom data for this object

type

The type of event, \"custom\" in this case

user

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?>, @Json(name = "type") type: String = "custom", @Json(name = "user") user: UserResponse)

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