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
data object ByeEvent : Event
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: UUID, val sdp: String = "", val offerIgnored: Boolean = false) : OfferResponse
Link copied to clipboard
@Serializable
data class ConferenceUpdateEvent(val locked: Boolean = false, val started: Boolean = false, val guestsMuted: Boolean = false, val presentationAllowed: Boolean = false) : Event
Link copied to clipboard
@Serializable
sealed interface DataChannelMessage
Link copied to clipboard
@Serializable
data class DisconnectEvent(val reason: String) : Event
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
data class FeccEvent(val action: FeccAction = FeccAction.UNKNOWN, val timeout: Long, val movement: List<FeccMovement>) : Event
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
data class IncomingCancelledEvent(val token: String) : Event
Link copied to clipboard
@Serializable
data class IncomingEvent(val conferenceAlias: String, val remoteDisplayName: String, val token: String) : 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
typealias Layout = LayoutId
Link copied to clipboard
@Serializable
data class LayoutEvent(val layout: LayoutId, val requestedLayout: RequestedLayout? = null, val overlayTextEnabled: Boolean = false) : Event
Link copied to clipboard
@Serializable
value class LayoutId(val value: String)
Link copied to clipboard
@Serializable
data class MessageReceivedEvent(val participantName: String, val participantId: UUID, val type: String, val payload: String, val direct: Boolean = false) : Event
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
data class NewCandidateEvent(val candidate: String, val mid: String, val ufrag: String = "", val pwd: String = "") : Event
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
data class NewOfferEvent(val sdp: String) : Event
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
value class ParticipantCreateEvent(val response: ParticipantResponse) : Event
Link copied to clipboard
@Serializable
data class ParticipantDeleteEvent(val id: UUID) : Event
Link copied to clipboard
@Serializable
data class ParticipantResponse(val id: UUID, 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)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
value class ParticipantUpdateEvent(val response: ParticipantResponse) : Event
Link copied to clipboard
@Serializable
data object PeerDisconnectEvent : Event
Link copied to clipboard
@Serializable
data class PreferredAspectRatioRequest(val aspectRatio: Float)
Link copied to clipboard
@Serializable
data class PresentationStartEvent(val presenterName: String, val presenterId: UUID) : Event
Link copied to clipboard
Link copied to clipboard
@Serializable
data class ReferEvent(val conferenceAlias: String, val token: String) : Event
Link copied to clipboard
@Serializable
data class RefreshRegistrationTokenResponse(val token: String, val expires: Long) : Token
Link copied to clipboard
@Serializable
data class RefreshTokenResponse(val token: String, val expires: Long) : 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: Long, val registrationId: UUID, 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)
Link copied to clipboard
@Serializable
data class RequestTokenResponse(val token: String, val expires: Long, val conferenceName: String, val participantId: UUID, 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 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
@Serializable
enum Role : Enum<Role>
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
@Serializable
enum ServiceType : Enum<ServiceType>
Link copied to clipboard
@Serializable
data class SpeakerResponse(val participantId: UUID, val vad: Int)
Link copied to clipboard
@Serializable
data class SplashScreenEvent(val screenKey: String? = null) : Event
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
value class StageEvent(val speakers: List<SpeakerResponse>) : Event
Link copied to clipboard
@Serializable
data class StunResponse(val url: String)
Link copied to clipboard
interface Token

An Infinity token.

Link copied to clipboard
interface TokenStore

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 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
data class UpdateSdpEvent(val sdp: String) : Event
Link copied to clipboard
@Serializable
data class VersionResponse(val versionId: String, val pseudoVersion: String)