Skip to main content

Interface: Plugin

Properties

conference

conference: Object

Type declaration

NameType
admit(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | UnlockParticipantResponse>
dialOut(payload: Omit<{ conferenceAlias?: string ; destination: string ; host?: string ; protocol?: "sip" | "h323" | "rtmp" | "mssip" | "auto" ; role: "HOST" | "GUEST" ; streaming?: "yes" | "no" }, "host" | "conferenceAlias">) => Promise<Participant>
disconnect(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | DisconnectParticipantResponse>
disconnectAll(payload: Omit<{ conferenceAlias?: string ; host?: string }, "host" | "conferenceAlias">) => Promise<undefined | DisconnectResponse>
lock(payload: Omit<{ conferenceAlias?: string ; host?: string ; lock: boolean }, "host" | "conferenceAlias">) => Promise<undefined | LockResponse | UnlockResponse>
mute(payload: Omit<{ conferenceAlias?: string ; host?: string ; mute: boolean ; participantUuid?: string }, "host" | "conferenceAlias">) => Promise<undefined | MuteParticipantResponse | UnmuteParticipantResponse>
muteAllGuests(payload: Omit<{ conferenceAlias?: string ; host?: string ; mute: boolean }, "host" | "conferenceAlias">) => Promise<undefined | MuteguestsResponse | UnmuteguestsResponse>
muteVideo(payload: Omit<{ conferenceAlias?: string ; host?: string ; muteVideo: boolean ; participantUuid?: string }, "host" | "conferenceAlias">) => Promise<undefined | VideoMuteParticipantResponse | VideoUnmuteParticipantResponse>
raiseHand(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid?: string ; raise: boolean }, "host" | "conferenceAlias">) => Promise<undefined | BuzzParticipantResponse | ClearbuzzParticipantResponse>
sendApplicationMessage(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid?: string ; payload: Record<string, unknown> }, "host" | "conferenceAlias">) => Promise<undefined | MessageConferenceResponse | MessageParticipantResponse>
sendDTMF(payload: Omit<{ callUuid?: string ; conferenceAlias?: string ; digits: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | DtmfParticipantResponse | DtmfResponse>
sendMessage(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid?: string ; payload: string }, "host" | "conferenceAlias">) => Promise<undefined | MessageConferenceResponse | MessageParticipantResponse>
setBandwidth(payload: number) => Promise<void>
setLayout(payload: Omit<{ conferenceAlias?: string ; host?: string ; transforms: Transforms }, "host" | "conferenceAlias">) => Promise<undefined | TransformLayoutResponse>
setParticipantRoom(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid: string ; roomId: number }, "host" | "conferenceAlias">) => Promise<undefined | RoomResponse>
setRole(payload: Omit<{ conferenceAlias?: string ; participantUuid: string ; role: "guest" | "chair" }, "host" | "conferenceAlias">) => Promise<void>
setTextOverlay(payload: Omit<TopLevel3 & { conferenceAlias?: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | OverlaytextParticipantResponse>
spotlight(payload: Omit<{ conferenceAlias?: string ; enable: boolean ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | SpotlightonParticipantResponse | SpotlightoffParticipantResponse>
transfer(payload: Omit<{ conferenceAlias?: string ; destination: string ; host?: string ; participantUuid: string ; pin: string ; role: "host" | "guest" }, "host" | "conferenceAlias">) => Promise<undefined | TransferParticipantResponse>

events

events: Object

Type declaration

NameType
applicationMessageSignal<ApplicationMessage>
authenticatedWithConferenceSignal<{ conferenceAlias: string }>
conferenceStatusSignal<ConferenceStatus>
connectedSignal<undefined>
directMessageSignal<Message>
disconnectedSignal<{ error: ExtendedInfinityErrorMessage ; errorCode: ExtendedInfinityErrorCode }>
layoutUpdateSignal<LayoutEvent>
meSignal<InfinityParticipant>
messageSignal<Message>
participantJoinedSignal<InfinityParticipant>
participantLeftSignal<InfinityParticipant>
participantsSignal<InfinityParticipant[]>
presentationConnectionStateChangeSignal<{ recv: RTCPeerConnectionState ; send: RTCPeerConnectionState }>
raiseHandSignal<InfinityParticipant>
stageSignal<Stage[]>
transferSignal<TransferDetails>

ui

ui: Object

Type declaration

NameType
addButton<K>(payload: K) => Promise<Button<K["position"]>>
addForm<P>(payload: P) => Promise<Form<P>>
addPrompt(payload: { description?: string ; opensPopup?: PopupRequest ; prompt: { primaryAction: string ; secondaryAction?: string } ; title: string }) => Promise<Prompt>
showForm<K>(payload: K) => Promise<MapFormReturn<K["form"][``"elements"``]>>
showPrompt(payload: { description?: string ; opensPopup?: PopupRequest ; prompt: { primaryAction: string ; secondaryAction?: string } ; title: string }) => Promise<string>
showToast(payload: NotificationToastMessage) => Promise<void>