ParticipantEvent

sealed class ParticipantEvent : Event

Types

DataReceived
Link copied to clipboard
class DataReceived(participant: RemoteParticipant, data: ByteArray, topic: String?) : ParticipantEvent
Received data published by another participant
LocalTrackPublished
Link copied to clipboard
class LocalTrackPublished(participant: LocalParticipant, publication: LocalTrackPublication) : ParticipantEvent
When a new track is published by the local participant.
LocalTrackUnpublished
Link copied to clipboard
class LocalTrackUnpublished(participant: LocalParticipant, publication: LocalTrackPublication) : ParticipantEvent
A LocalParticipant has unpublished a track
MetadataChanged
Link copied to clipboard
class MetadataChanged(participant: Participant, prevMetadata: String?) : ParticipantEvent
When a participant's metadata is updated, fired for all participants
NameChanged
Link copied to clipboard
class NameChanged(participant: Participant, name: String?) : ParticipantEvent
When a participant's display name is changed, fired for all participants
ParticipantPermissionsChanged
Link copied to clipboard
class ParticipantPermissionsChanged(participant: Participant, newPermissions: ParticipantPermission?, oldPermissions: ParticipantPermission?) : ParticipantEvent
A participant's permissions have changed.
SpeakingChanged
Link copied to clipboard
class SpeakingChanged(participant: Participant, isSpeaking: Boolean) : ParticipantEvent
Fired when the current participant's isSpeaking property changes.
TrackMuted
Link copied to clipboard
class TrackMuted(participant: Participant, publication: TrackPublication) : ParticipantEvent
The participant was muted.
TrackPublished
Link copied to clipboard
class TrackPublished(participant: RemoteParticipant, publication: RemoteTrackPublication) : ParticipantEvent
When a new track is published to room after the local participant has joined.
TrackStreamStateChanged
Link copied to clipboard
class TrackStreamStateChanged(participant: Participant, trackPublication: TrackPublication, streamState: Track.StreamState) : ParticipantEvent
A track's stream state has changed.
TrackSubscribed
Link copied to clipboard
class TrackSubscribed(participant: RemoteParticipant, track: Track, publication: RemoteTrackPublication) : ParticipantEvent
Subscribed to a new track
TrackSubscriptionFailed
Link copied to clipboard
class TrackSubscriptionFailed(participant: RemoteParticipant, sid: String, exception: Exception) : ParticipantEvent
Error had occurred while subscribing to a track
TrackSubscriptionPermissionChanged
Link copied to clipboard
class TrackSubscriptionPermissionChanged(participant: RemoteParticipant, trackPublication: RemoteTrackPublication, subscriptionAllowed: Boolean) : ParticipantEvent
A remote track's subscription permissions have changed.
TrackUnmuted
Link copied to clipboard
class TrackUnmuted(participant: Participant, publication: TrackPublication) : ParticipantEvent
The participant was unmuted.
TrackUnpublished
Link copied to clipboard
class TrackUnpublished(participant: RemoteParticipant, publication: RemoteTrackPublication) : ParticipantEvent
A RemoteParticipant has unpublished a track
TrackUnsubscribed
Link copied to clipboard
class TrackUnsubscribed(participant: RemoteParticipant, track: Track, publication: RemoteTrackPublication) : ParticipantEvent
A subscribed track is no longer available.

Properties

participant
Link copied to clipboard
open val participant: Participant

Inheritors

ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard
ParticipantEvent
Link copied to clipboard

Sources

SDK source
Link copied to clipboard