Answer

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

Constructors

Link copied to clipboard
fun Answer(@Json(name = "type") type: SdpType = SdpType.ANSWER, @Json(name = "sdp") sdp: String)

Properties

Link copied to clipboard
val sdp: String

Required. The SDP text of the session description.

Link copied to clipboard
val type: SdpType

Required. The type of session description. Must be 'answer'.