RequestTokenResponse

@Serializable
data class RequestTokenResponse(val token: String, val expires: Duration, val conferenceName: String, val participantId: ParticipantId, val participantName: String, val version: VersionResponse, val analyticsEnabled: Boolean = false, val chatEnabled: Boolean = false, val guestsCanPresent: Boolean = false, val serviceType: ServiceType = ServiceType.UNKNOWN, val stun: List<StunResponse> = emptyList(), val turn: List<TurnResponse> = emptyList(), val directMedia: Boolean = false, val useRelayCandidatesOnly: Boolean = false, val dataChannelId: Int = -1, val clientStatsUpdateInterval: Duration = Duration.INFINITE, val callTag: String = "", val parentParticipantId: ParticipantId? = null, val directMediaRequested: Boolean = false) : Token

Constructors

Link copied to clipboard
constructor(token: String, expires: Duration, conferenceName: String, participantId: ParticipantId, participantName: String, version: VersionResponse, analyticsEnabled: Boolean = false, chatEnabled: Boolean = false, guestsCanPresent: Boolean = false, serviceType: ServiceType = ServiceType.UNKNOWN, stun: List<StunResponse> = emptyList(), turn: List<TurnResponse> = emptyList(), directMedia: Boolean = false, useRelayCandidatesOnly: Boolean = false, dataChannelId: Int = -1, clientStatsUpdateInterval: Duration = Duration.INFINITE, callTag: String = "", parentParticipantId: ParticipantId? = null, directMediaRequested: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "analytics_enabled")
val analyticsEnabled: Boolean = false
Link copied to clipboard
@SerialName(value = "call_tag")
val callTag: String
Link copied to clipboard
@SerialName(value = "chat_enabled")
val chatEnabled: Boolean = false
Link copied to clipboard
@Serializable(with = DurationAsMillisecondsSerializer::class)
@SerialName(value = "client_stats_update_interval")
val clientStatsUpdateInterval: Duration
Link copied to clipboard
@SerialName(value = "conference_name")
val conferenceName: String
Link copied to clipboard
@SerialName(value = "pex_datachannel_id")
val dataChannelId: Int
Link copied to clipboard
@SerialName(value = "direct_media")
val directMedia: Boolean = false
Link copied to clipboard
@Transient
val directMediaRequested: Boolean = false
Link copied to clipboard
@Serializable(with = DurationAsSecondsStringSerializer::class)
open override val expires: Duration

a duration for which this token remains valid

Link copied to clipboard
@SerialName(value = "guests_can_present")
val guestsCanPresent: Boolean = false
Link copied to clipboard
@SerialName(value = "parent_participant_uuid")
val parentParticipantId: ParticipantId? = null
Link copied to clipboard
@SerialName(value = "participant_uuid")
val participantId: ParticipantId
Link copied to clipboard
@SerialName(value = "display_name")
val participantName: String
Link copied to clipboard
@SerialName(value = "service_type")
val serviceType: ServiceType
Link copied to clipboard
Link copied to clipboard
open override val token: String

an actual token value

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "use_relay_candidates_only")
val useRelayCandidatesOnly: Boolean = false
Link copied to clipboard