ClosedCaptionEvent

data class ClosedCaptionEvent(    @Json(name = "call_cid") val callCid: String,     @Json(name = "created_at") val createdAt: OffsetDateTime,     @Json(name = "closed_caption") val closedCaption: CallClosedCaption,     @Json(name = "type") val type: String) : VideoEvent, WSCallEvent

This event is sent when closed captions are being sent in a call, clients should use this to show the closed captions in the call screen

Constructors

Link copied to clipboard
constructor(    @Json(name = "call_cid") callCid: String,     @Json(name = "created_at") createdAt: OffsetDateTime,     @Json(name = "closed_caption") closedCaption: CallClosedCaption,     @Json(name = "type") type: String)

Properties

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