ZegoLiveAudioRoomSeatEvents class
events about seats
Constructors
-
ZegoLiveAudioRoomSeatEvents({VoidCallback? onClosed, VoidCallback? onOpened, void onClicked(int index, ZegoUIKitUser? user)?, void onChanged(Map<
int, ZegoUIKitUser> takenSeats, List<int> untakenSeats)?, ZegoLiveAudioRoomSeatHostEvents? host, ZegoLiveAudioRoomSeatAudienceEvents? audience})
Properties
- audience ↔ ZegoLiveAudioRoomSeatAudienceEvents?
-
events about seat's audience
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ ZegoLiveAudioRoomSeatHostEvents?
-
events about seat's host
getter/setter pair
-
onChanged
↔ (void Function(Map<
int, ZegoUIKitUser> takenSeats, List<int> untakenSeats)?) -
A callback function that is called when someone gets on/off/switches seat
getter/setter pair
- onClicked ↔ (void Function(int index, ZegoUIKitUser? user)?)
-
A callback function that is called when a seat is clicked.
getter/setter pair
- onClosed ↔ VoidCallback?
-
Notification that a seat has been closed (locked).
After closing a seat, audience members need to request permission from the host to join the seat, or the host can invite audience members directly.
getter/setter pair
- onOpened ↔ VoidCallback?
-
Notification that a seat has been opened (unlocked).
After opening a seat, all audience members can freely choose an empty seat to join and start chatting with others.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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