ZegoLiveAudioRoomControllerSeatHostImpl class

APIs of host

Properties

hashCode int
The hash code for this object.
no setterinherited
private → ZegoLiveAudioRoomControllerSeatRolePrivateImpl
Don't call that
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptTakingRequest(String audienceUserID) Future<bool>
The host accepts the seat request from the audience with the ID audienceUserID.
close({int targetIndex = -1}) Future<bool>
Closes (locks) the seat. allows you to lock all seats in the room at once, or only lock specific seat by targetIndex.
inviteToTake(String userID) Future<bool>
Host invite the audience with id userID to take seat
mute({int targetIndex = -1, bool muted = true}) Future<bool>
Mute the user at the targetIndex seat. After mute, if you want to un-mute, you can set muted to false.
muteByUserID(String targetUserID, {bool muted = true}) Future<bool>
Mute the seat by targetUserID. After mute, if you want to un-mute, you can set muted to false.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({int targetIndex = -1}) Future<bool>
Opens (unlocks) the seat. allows you to unlock all seats in the room at once, or only unlock specific seat by targetIndex.
rejectTakingRequest(String audienceUserID) Future<bool>
The host rejects the seat request from the audience with the ID audienceUserID.
removeSpeaker(String userID, {bool showDialogConfirm = true}) Future<void>
Removes the speaker with the user ID userID from the seat.
toString() String
A string representation of this object.
inherited

Operators

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