meeting module
Interfaces
| IAppContentStageSharingCapabilities | |
| IAppContentStageSharingState | |
| IRaiseHandState |
Interface for raiseHandState properties |
| ISpeakingState |
Property bag for the speakingState changed event |
| LiveStreamState | |
| MeetingReactionReceivedEventData |
Property bag for the meeting reaction received event |
| RaiseHandStateChangedEventData |
Property bag for the raiseHandState changed event |
Enums
| CallType | |
| MeetingReactionType |
Different types of meeting reactions that can be sent/received |
| MeetingType | |
Functions
| get |
Provides information related app's in-meeting sharing capabilities |
| get |
Provides information related to current stage sharing state for app |
| get |
Allows an app to get the incoming audio speaker setting for the meeting user |
| get |
Allows an app to get the state of the live stream in the current meeting |
| register |
Registers a handler for changes to the live stream. |
| register |
Registers a handler for receiving meeting reactions. When the selfParticipant (current user) successfully sends a meeting reaction and it is being rendered on the UI, the meetingReactionType will be populated. Only one handler can be registered at a time. A subsequent registration replaces an existing registration. |
| register |
Registers a handler for changes to the selfParticipant's (current user's) raiseHandState. If the selfParticipant raises their hand, isHandRaised will be true. By default and if the selfParticipant hand is lowered, isHandRaised will be false. This API will return RaiseHandStateChangedEventData that will have the raiseHandState or an error object. Only one handler can be registered at a time. A subsequent registration replaces an existing registration. |
| register |
Registers a handler for changes to paticipant speaking states. This API returns ISpeakingState, which will have isSpeakingDetected and/or an error object. If any participant is speaking, isSpeakingDetected will be true. If no participants are speaking, isSpeakingDetected will be false. Default value is false. Only one handler can be registered at a time. A subsequent registration replaces an existing registration. |
| request |
Allows an app to request the live streaming be started at the given streaming url |
| request |
Allows an app to request the live streaming be stopped at the given streaming url |
| share |
Allows an app to share contents in the meeting |
| toggle |
Allows an app to toggle the incoming audio speaker setting for the meeting user from mute to unmute or vice-versa |
Function Details
getAppContentStageSharingCapabilities((error: SdkError | null, appContentStageSharingCapabilities: IAppContentStageSharingCapabilities | null) => void)
Provides information related app's in-meeting sharing capabilities
function getAppContentStageSharingCapabilities(callback: (error: SdkError | null, appContentStageSharingCapabilities: IAppContentStageSharingCapabilities | null) => void)
Parameters
- callback
-
(error: SdkError | null, appContentStageSharingCapabilities: IAppContentStageSharingCapabilities | null) => void
Callback contains 2 parameters, error and result. error can either contain an error of type SdkError (error indication), or null (non-error indication) appContentStageSharingCapabilities can either contain an IAppContentStageSharingCapabilities object (indication of successful retrieval), or null (indication of failed retrieval)
getAppContentStageSharingState((error: SdkError | null, appContentStageSharingState: IAppContentStageSharingState | null) => void)
Provides information related to current stage sharing state for app
function getAppContentStageSharingState(callback: (error: SdkError | null, appContentStageSharingState: IAppContentStageSharingState | null) => void)
Parameters
- callback
-
(error: SdkError | null, appContentStageSharingState: IAppContentStageSharingState | null) => void
Callback contains 2 parameters, error and result. error can either contain an error of type SdkError (error indication), or null (non-error indication) appContentStageSharingState can either contain an IAppContentStageSharingState object (indication of successful retrieval), or null (indication of failed retrieval)
getIncomingClientAudioState((error: SdkError | null, result: boolean | null) => void)
Allows an app to get the incoming audio speaker setting for the meeting user
function getIncomingClientAudioState(callback: (error: SdkError | null, result: boolean | null) => void)
Parameters
- callback
-
(error: SdkError | null, result: boolean | null) => void
Callback contains 2 parameters, error and result.
error can either contain an error of type SdkError, incase of an error, or null when fetch is successful result can either contain the true/false value, incase of a successful fetch or null when the fetching fails result: True means incoming audio is muted and false means incoming audio is unmuted
getLiveStreamState((error: SdkError | null, liveStreamState: LiveStreamState | null) => void)
Allows an app to get the state of the live stream in the current meeting
function getLiveStreamState(callback: (error: SdkError | null, liveStreamState: LiveStreamState | null) => void)
Parameters
- callback
-
(error: SdkError | null, liveStreamState: LiveStreamState | null) => void
Callback contains 2 parameters: error and liveStreamState. error can either contain an error of type SdkError, in case of an error, or null when get is successful liveStreamState can either contain a LiveStreamState value, or null when operation fails
registerLiveStreamChangedHandler((liveStreamState: LiveStreamState) => void)
Registers a handler for changes to the live stream.
function registerLiveStreamChangedHandler(handler: (liveStreamState: LiveStreamState) => void)
Parameters
- handler
-
(liveStreamState: LiveStreamState) => void
The handler to invoke when the live stream state changes
Remarks
Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
registerMeetingReactionReceivedHandler((eventData: MeetingReactionReceivedEventData) => void)
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Registers a handler for receiving meeting reactions. When the selfParticipant (current user) successfully sends a meeting reaction and it is being rendered on the UI, the meetingReactionType will be populated. Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
function registerMeetingReactionReceivedHandler(handler: (eventData: MeetingReactionReceivedEventData) => void)
Parameters
- handler
-
(eventData: MeetingReactionReceivedEventData) => void
The handler to invoke when the selfParticipant (current user) successfully sends a meeting reaction
registerRaiseHandStateChangedHandler((eventData: RaiseHandStateChangedEventData) => void)
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Registers a handler for changes to the selfParticipant's (current user's) raiseHandState. If the selfParticipant raises their hand, isHandRaised will be true. By default and if the selfParticipant hand is lowered, isHandRaised will be false. This API will return RaiseHandStateChangedEventData that will have the raiseHandState or an error object. Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
function registerRaiseHandStateChangedHandler(handler: (eventData: RaiseHandStateChangedEventData) => void)
Parameters
- handler
-
(eventData: RaiseHandStateChangedEventData) => void
The handler to invoke when the selfParticipant's (current user's) raiseHandState changes.
registerSpeakingStateChangeHandler((speakingState: ISpeakingState) => void)
Registers a handler for changes to paticipant speaking states. This API returns ISpeakingState, which will have isSpeakingDetected and/or an error object. If any participant is speaking, isSpeakingDetected will be true. If no participants are speaking, isSpeakingDetected will be false. Default value is false. Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
function registerSpeakingStateChangeHandler(handler: (speakingState: ISpeakingState) => void)
Parameters
- handler
-
(speakingState: ISpeakingState) => void
The handler to invoke when the speaking state of any participant changes (start/stop speaking).
requestStartLiveStreaming((error: SdkError | null) => void, string, string)
Allows an app to request the live streaming be started at the given streaming url
function requestStartLiveStreaming(callback: (error: SdkError | null) => void, streamUrl: string, streamKey?: string)
Parameters
- callback
-
(error: SdkError | null) => void
Callback contains error parameter which can be of type SdkError in case of an error, or null when operation is successful
- streamUrl
-
string
the url to the stream resource
- streamKey
-
string
the key to the stream resource
Remarks
Use getLiveStreamState or registerLiveStreamChangedHandler to get updates on the live stream state
requestStopLiveStreaming((error: SdkError | null) => void)
Allows an app to request the live streaming be stopped at the given streaming url
function requestStopLiveStreaming(callback: (error: SdkError | null) => void)
Parameters
- callback
-
(error: SdkError | null) => void
Callback contains error parameter which can be of type SdkError in case of an error, or null when operation is successful
Remarks
Use getLiveStreamState or registerLiveStreamChangedHandler to get updates on the live stream state
shareAppContentToStage((error: SdkError | null, result: boolean | null) => void, string)
Allows an app to share contents in the meeting
function shareAppContentToStage(callback: (error: SdkError | null, result: boolean | null) => void, appContentUrl: string)
Parameters
- callback
-
(error: SdkError | null, result: boolean | null) => void
Callback contains 2 parameters, error and result. error can either contain an error of type SdkError, incase of an error, or null when share is successful result can either contain a true value, incase of a successful share or null when the share fails
- appContentUrl
-
string
is the input URL which needs to be shared on to the stage
toggleIncomingClientAudio((error: SdkError | null, result: boolean | null) => void)
Allows an app to toggle the incoming audio speaker setting for the meeting user from mute to unmute or vice-versa
function toggleIncomingClientAudio(callback: (error: SdkError | null, result: boolean | null) => void)
Parameters
- callback
-
(error: SdkError | null, result: boolean | null) => void
Callback contains 2 parameters, error and result. error can either contain an error of type SdkError, incase of an error, or null when toggle is successful result can either contain the true/false value, incase of a successful toggle or null when the toggling fails result: True means incoming audio is muted and false means incoming audio is unmuted
Feedback
Submit and view feedback for