HMSMeeting class Null safety

Constructors

HMSMeeting()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

acceptRoleChangerequest() → void
accept the role changes.
addMeetingListener(HMSUpdateListener listener) → void
add MeetingListener it will add all the listeners.
addPreviewListener(HMSPreviewListener listener) → void
add one or more previewListeners.
changeRole({required String peerId, required String roleName, bool forceChange = false}) → void
you can change role of any peer in the room just pass peerId and roleName, forceChange is optional.
getRoles() Future<List<HMSRole>>
returns all the roles associated with the link used
isAudioMute(HMSPeer? peer) Future<bool>
checks the audio is mute or unmute just pass peer
isVideoMute(HMSPeer? peer) Future<bool>
checks the video is mute or unmute just pass peer
joinMeeting({required HMSConfig config}) Future<void>
join meeting by passing HMSConfig instance to it.
leaveMeeting() Future<void>
just call this method to leave meeting.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
previewVideo({required HMSConfig config}) Future<void>
preview before joining the room pass HMSConfig.
removeMeetingListener(HMSUpdateListener listener) → void
remove a meetListener.
removePreviewListener(HMSPreviewListener listener) → void
remove a previewListener.
sendMessage(String message) Future<void>
send message to the room and the pass the message.
startCapturing() → void
it will start capturing the local video.
stopCapturing() → void
it will stop capturing the local video.
switchAudio({bool isOn = false}) Future<void>
switch local audio on/off. just pass false or true to switchAudio
switchCamera() Future<void>
switch camera to front or rear.
switchVideo({bool isOn = false}) Future<void>
switch local video on/off. ///just pass false or true to switchVideo
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited