ZegoLiveStreamingCoHostEvents class
CoHost Related Events
Constructors
-
ZegoLiveStreamingCoHostEvents({dynamic onUpdated(List<
ZegoUIKitUser> coHosts)?, void onMaxCountReached(int count)?, ZegoLiveStreamingCoHostHostEvents? host, ZegoLiveStreamingCoHostAudienceEvents? audience, ZegoLiveStreamingCoHostCoHostEvents? coHost})
Properties
- audience ↔ ZegoLiveStreamingCoHostAudienceEvents
-
audience's events about.
getter/setter pair
- coHost ↔ ZegoLiveStreamingCoHostCoHostEvents
-
co-host's events about.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ ZegoLiveStreamingCoHostHostEvents
-
host's events about.
getter/setter pair
- onMaxCountReached ↔ (void Function(int count)?)
-
This callback is triggered when the maximum count of co-hosts is reached.
getter/setter pair
-
onUpdated
↔ (dynamic Function(List<
ZegoUIKitUser> coHosts)?) -
co-host updated, refers to the event where there is a change in the co-hosts.
this can occur when a new co-host joins the session or when an existing co-host leaves the session.
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