HMSUpdateListener class Null safety
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
onError(
{required HMSError error}) → void - This will be called when there is an error in the system [...]
-
onJoin(
{required HMSRoom room}) → void - This will be called on a successful JOIN of the room by the user [...]
-
onMessage(
{required HMSMessage message}) → void - This is called when there is a new broadcast message from any other peer in the room [...]
-
onPeerUpdate(
{required HMSPeer peer, required HMSPeerUpdate update}) → void - This will be called whenever there is an update on an existing peer or a new peer got added/existing peer is removed. [...]
-
onReconnected(
) → void - when you are back in the room after reconnection
-
onReconnecting(
) → void - when network or some other error happens it will be called
-
onRoleChangeRequest(
{required HMSRoleChangeRequest roleChangeRequest}) → void - This is called when someone asks for change or role [...]
-
onRoomUpdate(
{required HMSRoom room, required HMSRoomUpdate update}) → void - This is called when there is a change in any property of the Room [...]
-
onTrackUpdate(
{required HMSTrack track, required HMSTrackUpdate trackUpdate, required HMSPeer peer}) → void - This is called when there are updates on an existing track or a new track got added/existing track is removed [...]
-
onUpdateSpeakers(
{required List< HMSSpeaker> updateSpeakers}) → void - This is called every 1 second with list of active speakers [...]
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited