CallAnswerContent

@JsonClass(generateAdapter = true)
data class CallAnswerContent(    @Json(name = "call_id") val callId: String,     @Json(name = "party_id") val partyId: String? = null,     @Json(name = "answer") val answer: CallAnswerContent.Answer,     @Json(name = "version") val version: String?,     @Json(name = "capabilities") val capabilities: CallCapabilities? = null) : CallSignalingContent

This event is sent by the callee when they wish to answer the call.

Constructors

Link copied to clipboard
fun CallAnswerContent(    @Json(name = "call_id") callId: String,     @Json(name = "party_id") partyId: String? = null,     @Json(name = "answer") answer: CallAnswerContent.Answer,     @Json(name = "version") version: String?,     @Json(name = "capabilities") capabilities: CallCapabilities? = null)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Answer(@Json(name = "type") val type: SdpType = SdpType.ANSWER, @Json(name = "sdp") val sdp: String)

Properties

Link copied to clipboard
val answer: CallAnswerContent.Answer

Required. The session description object

Link copied to clipboard
open override val callId: String

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

Link copied to clipboard
val capabilities: CallCapabilities? = null

Capability advertisement.

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
open override val version: String?

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