Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AckRequest(val sdp: String = "", val offerIgnored: Boolean = false)
Link copied to clipboard
@Serializable
data class BackgroundResponse(val path: String)
Link copied to clipboard
@Serializable
@SerialName(value = "breakout_begin")
data class BreakoutBeginEvent(val id: BreakoutId, val participantId: ParticipantId) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "breakout_end")
data class BreakoutEndEvent(val id: BreakoutId, val participantId: ParticipantId) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "breakout_event")
data class BreakoutEvent(val id: BreakoutId, val event: InfinityEvent) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "bye")
data object ByeEvent : InfinityEvent
Link copied to clipboard
@Serializable
data class CallsRequest(val callType: String, val sdp: String, val present: String? = null, val fecc: Boolean = false)
Link copied to clipboard
@Serializable
data class CallsResponse(val callId: CallId, val sdp: String = "", val offerIgnored: Boolean = false) : OfferResponse
Link copied to clipboard
@Serializable
@SerialName(value = "conference_update")
data class ConferenceUpdateEvent(val locked: Boolean = false, val started: Boolean = false, val guestsMuted: Boolean = false, val presentationAllowed: Boolean = false, val guestsCanUnmute: Boolean? = null) : InfinityEvent
Link copied to clipboard
@Serializable
sealed interface DataChannelMessage
Link copied to clipboard
@Serializable
@SerialName(value = "disconnect")
data class DisconnectEvent(val reason: String) : InfinityEvent
Link copied to clipboard
@Serializable
data class DtmfRequest(val digits: String)
Link copied to clipboard
@Serializable
sealed interface ElementResponse
Link copied to clipboard
@Serializable
enum FeccAction : Enum<FeccAction>
Link copied to clipboard
@Serializable
@SerialName(value = "fecc")
data class FeccEvent(val action: FeccAction = FeccAction.UNKNOWN, val timeout: Duration, val movement: List<FeccMovement>) : InfinityEvent
Link copied to clipboard
@Serializable(with = FeccMovementSerializer::class)
enum FeccMovement : Enum<FeccMovement>
Link copied to clipboard
@Serializable
data class IdentityProvider(val id: IdentityProviderId, val name: String)

A SAML identity provider used for authentication.

Link copied to clipboard
@Serializable
value class IdentityProviderId(value: String)
Link copied to clipboard
class IllegalLayoutTransformException @JvmOverloads constructor(message: String? = null) : RuntimeException

Thrown to indicate that the requested layout transformation is unsupported.

Link copied to clipboard
@Serializable
@SerialName(value = "incoming_cancelled")
data class IncomingCancelledEvent(val token: String) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "incoming")
data class IncomingEvent(val conferenceAlias: String, val remoteDisplayName: String, val token: String) : InfinityEvent
Link copied to clipboard
@Serializable
sealed interface InfinityEvent : Event
Link copied to clipboard
interface InfinityService

A fluent client for Infinity REST API v2.

Link copied to clipboard
class InvalidPinException @JvmOverloads constructor(message: String? = null) : RuntimeException

Thrown to indicate that the provided PIN was invalid.

Link copied to clipboard
class InvalidTokenException @JvmOverloads constructor(message: String? = null) : RuntimeException

Thrown to indicate that the provided token was invalid.

Link copied to clipboard
@Serializable
@SerialName(value = "layout")
data class LayoutEvent(val layout: LayoutId, val requestedLayout: RequestedLayout? = null, val overlayTextEnabled: Boolean = false) : InfinityEvent
Link copied to clipboard
Link copied to clipboard
@Serializable
@SerialName(value = "message_received")
data class MessageReceivedEvent(val participantName: String, val participantId: ParticipantId, val type: String, val payload: String, val direct: Boolean = false) : InfinityEvent
Link copied to clipboard
@Serializable
data class MessageRequest(val payload: String, val type: String)

Represents a message request to an Infinity conference or participant.

Link copied to clipboard
@Serializable
@SerialName(value = "new_candidate")
data class NewCandidateEvent(val candidate: String, val mid: String, val ufrag: String = "", val pwd: String = "") : InfinityEvent
Link copied to clipboard
@Serializable
data class NewCandidateRequest(val candidate: String, val mid: String, val ufrag: String? = null, val pwd: String? = null)
Link copied to clipboard
@Serializable
@SerialName(value = "new_offer")
data class NewOfferEvent(val sdp: String) : InfinityEvent
Link copied to clipboard
fun interface NodeResolver

A class that can resolve node addresses.

Link copied to clipboard
class NoSuchConferenceException @JvmOverloads constructor(message: String? = null) : RuntimeException

Thrown to indicate that the conference alias does not exist on the node.

Link copied to clipboard

Thrown to indicate that the node address used to make calls doesn't have Pexip Infinity deployment.

Link copied to clipboard
class NoSuchRegistrationException @JvmOverloads constructor(message: String? = null) : RuntimeException

Thrown to indicate that the device alias either does not exist on the node or credentials are invalid.

Link copied to clipboard
sealed interface OfferResponse
Link copied to clipboard
@Serializable
@SerialName(value = "participant_create")
value class ParticipantCreateEvent(val response: ParticipantResponse) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "participant_delete")
data class ParticipantDeleteEvent(val id: ParticipantId) : InfinityEvent
Link copied to clipboard
@Serializable
data class ParticipantResponse(val id: ParticipantId, val startTime: Instant? = null, val displayName: String, val overlayText: String = displayName, val presenting: Boolean = false, val audioMuted: Boolean = false, val videoMuted: Boolean = false, val muteSupported: Boolean = false, val transferSupported: Boolean = false, val disconnectSupported: Boolean = false, val role: Role = Role.UNKNOWN, val serviceType: ServiceType = ServiceType.UNKNOWN, val buzzTime: Instant? = null, val spotlightTime: Instant? = null, val callTag: String = "", val clientAudioMuted: Boolean = audioMuted)
Link copied to clipboard
@Serializable
@SerialName(value = "participant_sync_begin")
data object ParticipantSyncBeginEvent : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "participant_sync_end")
data object ParticipantSyncEndEvent : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "participant_update")
value class ParticipantUpdateEvent(val response: ParticipantResponse) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "peer_disconnect")
data object PeerDisconnectEvent : InfinityEvent
Link copied to clipboard
@Serializable
data class PreferredAspectRatioRequest(val aspectRatio: Float)
Link copied to clipboard
@Serializable
@SerialName(value = "presentation_start")
data class PresentationStartEvent(val presenterName: String, val presenterId: ParticipantId) : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "presentation_stop")
data object PresentationStopEvent : InfinityEvent
Link copied to clipboard
@Serializable
@SerialName(value = "refer")
data class ReferEvent(val conferenceAlias: String, val token: String) : InfinityEvent
Link copied to clipboard
@Serializable
data class RefreshRegistrationTokenResponse(val token: String, val expires: Duration) : Token
Link copied to clipboard
@Serializable
data class RefreshTokenResponse(val token: String, val expires: Duration) : Token
Link copied to clipboard
@Serializable
data class RegistrationResponse(val alias: String, val description: String = "", val username: String = "")
Link copied to clipboard
@Serializable
data class RequestedLayout(val primaryScreen: Screen)
Link copied to clipboard
@Serializable
data class RequestRegistrationTokenResponse(val token: String, val expires: Duration, val registrationId: RegistrationId, val directoryEnabled: Boolean, val routeViaRegistrar: Boolean, val version: VersionResponse) : Token
Link copied to clipboard
@Serializable
data class RequestTokenRequest(val conferenceExtension: String? = null, val displayName: String? = null, val chosenIdp: IdentityProviderId? = null, val ssoToken: String? = null, val incomingToken: String? = null, val registrationToken: String? = null, val directMedia: Boolean = false, val callTag: String = "", val breakoutCapable: Boolean = false)
Link copied to clipboard
@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
Link copied to clipboard

Thrown to indicate that this conference has a PIN requirement.

Link copied to clipboard

Thrown to indicate that SSO authentication is required to proceed.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class RoleRequest(val role: Role)
Link copied to clipboard
@Serializable
data class Screen(val hostLayout: LayoutId, val guestLayout: LayoutId)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class SetGuestCanUnmuteRequest(val setting: Boolean)
Link copied to clipboard
@Serializable
data class SpeakerResponse(val participantId: ParticipantId, val vad: Int)
Link copied to clipboard
@Serializable
@SerialName(value = "splash_screen")
data class SplashScreenEvent(val screenKey: String? = null) : InfinityEvent
Link copied to clipboard
@Serializable
data class SplashScreenResponse(val background: BackgroundResponse, val elements: List<ElementResponse>)
Link copied to clipboard

Thrown to indicate that the client should open the provided URL to proceed with SSO flow.

Link copied to clipboard
@Serializable
@SerialName(value = "stage")
data class StageEvent(val speakers: List<SpeakerResponse>) : InfinityEvent
Link copied to clipboard
@Serializable
data class StunResponse(val url: String)
Link copied to clipboard
interface Token

An Infinity token.

Link copied to clipboard

A token store.

Link copied to clipboard
@Serializable
data class TransformLayoutRequest(val layout: LayoutId? = null, val guestLayout: LayoutId? = null, val enableOverlayText: Boolean? = null)
Link copied to clipboard
@Serializable
data class TurnResponse(val urls: List<String>, val username: String, val credential: String)
Link copied to clipboard
@Serializable
data object UnknownEvent : InfinityEvent
Link copied to clipboard
@Serializable
data class UpdateRequest(val sdp: String, val fecc: Boolean = false)
Link copied to clipboard
@Serializable
data class UpdateResponse(val sdp: String = "", val offerIgnored: Boolean = false) : OfferResponse
Link copied to clipboard
@Serializable
@SerialName(value = "update_sdp")
data class UpdateSdpEvent(val sdp: String) : InfinityEvent
Link copied to clipboard
@Serializable
data class VersionResponse(val versionId: VersionId, val pseudoVersion: String)