RoomDelegate mixin Null safety

Delegate for Room callbacks

Superclass Constraints

Constructors

RoomDelegate()

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

onReconnecting() → void
When the connection to the server has been interrupted and it's attempting to reconnect.
onReconnected() → void
Connection to room is re-established. All existing state is preserved.
onDisconnected() → void
Disconnected from the room
onParticipantConnected(Participant participant) → void
When a new RemoteParticipant joins after the current participant has connected It will not fire for participants that are already in the room
onParticipantDisconnected(Participant participant) → void
When a RemoteParticipant leaves the room
onActiveSpeakersChanged(List<Participant> participants) → void
Active speakers changed. List of speakers are ordered by their audio level. loudest speakers first. This will include the LocalParticipant too.
onMetadataChanged(Participant participant) → void
Participant metadata is a simple way for app-specific state to be pushed to all users. When RoomService.UpdateParticipantMetadata is called to change a participant's state, all participants in the room will fire this event.
onTrackMuted(Participant participant, TrackPublication publication) → void
A track that was muted, fires on both RemoteParticipants and LocalParticipant
onTrackUnmuted(Participant participant, TrackPublication publication) → void
A track that was unmuted, fires on both RemoteParticipants and LocalParticipant
onTrackPublished(RemoteParticipant participant, RemoteTrackPublication publication) → void
When a new track is published to room after the current participant has joined. It will not fire for tracks that are already published
onTrackUnpublished(RemoteParticipant participant, RemoteTrackPublication publication) → void
A RemoteParticipant has unpublished a track
onTrackSubscribed(RemoteParticipant participant, Track track, RemoteTrackPublication publication) → void
The LocalParticipant has subscribed to a new track. This event will always fire as long as new tracks are ready for use.
onTrackUnsubscribed(RemoteParticipant participant, Track track, RemoteTrackPublication publication) → void
A subscribed track is no longer available.
onDataReceived(RemoteParticipant participant, List<int> data) → void
Data received from another RemoteParticipant. Data packets provides the ability to use LiveKit to send/receive arbitrary payloads.
onTrackSubscriptionFailed(RemoteParticipant participant, String sid, String? message) → void
Encountered failure attempting to subscribe to track.
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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