ZegoLiveStreamingCoHostHostEvents class

Host Related Events of CoHost

Available Extensions

Constructors

ZegoLiveStreamingCoHostHostEvents({dynamic onRequestReceived(ZegoLiveStreamingCoHostHostEventRequestReceivedData data)?, dynamic onRequestCanceled(ZegoLiveStreamingCoHostHostEventRequestCanceledData data)?, dynamic onRequestTimeout(ZegoLiveStreamingCoHostHostEventRequestTimeoutData data)?, dynamic onActionAcceptRequest()?, dynamic onActionRefuseRequest()?, dynamic onInvitationSent(ZegoLiveStreamingCoHostHostEventInvitationSentData data)?, dynamic onInvitationTimeout(ZegoLiveStreamingCoHostHostEventInvitationTimeoutData data)?, void onInvitationAccepted(ZegoLiveStreamingCoHostHostEventInvitationAcceptedData data)?, void onInvitationRefused(ZegoLiveStreamingCoHostHostEventInvitationRefusedData data)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onActionAcceptRequest ↔ (dynamic Function()?)
host accept the audience's co-host request.
getter/setter pair
onActionRefuseRequest ↔ (dynamic Function()?)
host refuse the audience's co-host request.
getter/setter pair
onInvitationAccepted ↔ (void Function(ZegoLiveStreamingCoHostHostEventInvitationAcceptedData data)?)
audience accepted to a co-host request from host
getter/setter pair
onInvitationRefused ↔ (void Function(ZegoLiveStreamingCoHostHostEventInvitationRefusedData data)?)
audience refused to a co-host request from host
getter/setter pair
onInvitationSent ↔ (dynamic Function(ZegoLiveStreamingCoHostHostEventInvitationSentData data)?)
host sent invitation to become a co-host to the audience.
getter/setter pair
onInvitationTimeout ↔ (dynamic Function(ZegoLiveStreamingCoHostHostEventInvitationTimeoutData data)?)
the host's co-host invitation has timed out.
getter/setter pair
onRequestCanceled ↔ (dynamic Function(ZegoLiveStreamingCoHostHostEventRequestCanceledData data)?)
audience cancelled the co-host request.
getter/setter pair
onRequestReceived ↔ (dynamic Function(ZegoLiveStreamingCoHostHostEventRequestReceivedData data)?)
receive a request that audience request to become a co-host
getter/setter pair
onRequestTimeout ↔ (dynamic Function(ZegoLiveStreamingCoHostHostEventRequestTimeoutData data)?)
the audience's co-host request has timed out.
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