CallRejectContent

@JsonClass(generateAdapter = true)
data class CallRejectContent(    @Json(name = "call_id") val callId: String,     @Json(name = "party_id") val partyId: String? = null,     @Json(name = "version") val version: String?,     @Json(name = "reason") val reason: EndCallReason? = null) : CallSignalingContent

Sent by either party to signal their termination of the call. This can be sent either once the call has been established or before to abort the call.

Constructors

Link copied to clipboard
fun CallRejectContent(    @Json(name = "call_id") callId: String,     @Json(name = "party_id") partyId: String? = null,     @Json(name = "version") version: String?,     @Json(name = "reason") reason: EndCallReason? = null)

Properties

Link copied to clipboard
open override val callId: String

Required. The ID of the call this event relates to.

Link copied to clipboard
open override val partyId: String? = null

Required. ID to let user identify remote echo of their own events

Link copied to clipboard
val reason: EndCallReason? = null

Optional error reason for the reject.

Link copied to clipboard
open override val version: String?

Required. The version of the VoIP specification this message adheres to.