ConferenceSession class
A class representing a conference session.
When you expect to launch the conference interface after successfully creating/joining a conference, you need to use the ConferenceSession class to perform related operations.
Example:
ConferenceSession.newInstance('yourConferenceId')
..name = 'yourConferenceName'
..isMuteMicrophone = false
..isOpenCamera = true
..isSoundOnSpeaker = true
..enableMicrophoneForAllUser = true
..enableCameraForAllUser = true
..enableMessageForAllUser = true
..enableSeatControl = false
..onActionSuccess = () {} // Callback for success, You can navigate to the conference page here.
..onActionError = (error, message) {} // Callback for error
..quickStart();
Constructors
- ConferenceSession.newInstance(String id)
-
factory
Properties
- enableCameraForAllUser ← bool
-
Sets whether the camera is enabled for all users.
no getter
- enableMessageForAllUser ← bool
-
Sets whether messaging is enabled for all users.
no getter
- enableMicrophoneForAllUser ← bool
-
Sets whether the microphone is enabled for all users.
no getter
- enableSeatControl ← bool
-
Sets whether the seat control mode is enabled.
no getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMuteMicrophone ← bool
-
Sets whether the microphone is muted.
no getter
- isOpenCamera ← bool
-
Sets whether the camera is open.
no getter
- isSoundOnSpeaker ← bool
-
Sets whether the sound is played through the speaker.
no getter
- name ← String
-
Sets the name of the conference.
no getter
- onActionError ← dynamic Function(ConferenceError error, String message)
-
Sets the callback to be invoked when creating or joining a conference encounters an error.
no getter
- onActionSuccess ← VoidCallback
-
Sets the callback to be invoked when creating or joining a conference is successful.
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
join(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
quickStart(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited