ZegoLiveAudioRoomControllerSeatImpl class

Here are the APIs related to seat.

Properties

audience ZegoLiveAudioRoomControllerSeatAudienceImpl
APIs of audience
no setter
hashCode int
The hash code for this object.
no setterinherited
host ZegoLiveAudioRoomControllerSeatHostImpl
APIs of host
no setter
localHasHostPermissions bool
local user has host permission or not co-host have the same permissions as hosts if host is not exist
no setter
localIsAudience bool
local user is audience or not
no setter
localIsCoHost bool
local user is co-host or not co-host have the same permissions as hosts if host is not exist
no setter
localIsHost bool
local user is host or not
no setter
localIsSpeaker bool
local user is speaker or not
no setter
private → ZegoLiveAudioRoomControllerSeatPrivateImpl
Don't call that
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speaker ZegoLiveAudioRoomControllerSeatSpeakerImpl
APIs of speaker
no setter
userMapNotifier ValueNotifier<Map<String, String>>?
the seat user map of the current live audio room.
no setter

Methods

getEmptySeats({bool includeHostSeats = false}) List<int>
get the currently empty seat
getSeatIndexByUserID(String targetUserID) int
get seat index of target user
getUserByIndex(int targetIndex) ZegoUIKitUser?
get user who on the target seat index
muteLocally({int targetIndex = -1, bool muted = true}) Future<bool>
Mute the user at the targetIndex seat locally. After mute, if you want to un-mute, you can set muted to false.
muteLocallyByUserID(String targetUserID, {bool muted = true}) Future<bool>
Mute the seat by targetUserID locally. After mute, if you want to un-mute, you can set muted to false.
muteStateNotifier(int targetIndex, {bool isLocally = false}) ValueNotifier<bool>
Is the current seat muted or not. Set isLocally to true to find out if it is muted locally.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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