PermissionRequestEvent

data class PermissionRequestEvent(@Json(name = "call_cid") val callCid: String, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "permissions") val permissions: List<String>, @Json(name = "type") val type: String = "call.permission_request", @Json(name = "user") val user: UserResponse) : VideoEvent, WSCallEvent

This event is sent when a user requests access to a feature on a call, clients receiving this event should display a permission request to the user

Parameters

callCid
createdAt
permissions

The list of permissions requested by the user

type

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

user

Constructors

Link copied to clipboard
constructor(@Json(name = "call_cid") callCid: String, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "permissions") permissions: List<String>, @Json(name = "type") type: String = "call.permission_request", @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