Participant

open class Participant(sid: Participant.Sid, identity: Participant.Identity?, @Named(value = dispatcher_defaultcoroutineDispatcher: CoroutineDispatcher)

Types

Identity
Link copied to clipboard
@Serializable()
value class Identity(value: String)
Sid
Link copied to clipboard
@Serializable()
value class Sid(value: String)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getTrackPublication
Link copied to clipboard
open fun getTrackPublication(source: Track.Source): TrackPublication?
Retrieves the first track that matches the source, or null
getTrackPublicationByName
Link copied to clipboard
open fun getTrackPublicationByName(name: String): TrackPublication?
Retrieves the first track that matches name, or null
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isCameraEnabled
Link copied to clipboard
fun isCameraEnabled(): Boolean
isMicrophoneEnabled
Link copied to clipboard
fun isMicrophoneEnabled(): Boolean
isScreenShareEnabled
Link copied to clipboard
fun isScreenShareEnabled(): Boolean

Properties

audioLevel
Link copied to clipboard
@FlowObservable()
var audioLevel: Float
Changes can be observed by using io.livekit.android.util.flow
audioTrackPublications
Link copied to clipboard
@FlowObservable()
val audioTrackPublications: <ERROR CLASS>
Changes can be observed by using io.livekit.android.util.flow
connectionQuality
Link copied to clipboard
@FlowObservable()
var connectionQuality: ConnectionQuality
Changes can be observed by using io.livekit.android.util.flow
events
Link copied to clipboard
val events: EventListenable<ParticipantEvent>
hasInfo
Link copied to clipboard
val hasInfo: Boolean
identity
Link copied to clipboard
@FlowObservable()
var identity: Participant.Identity?
Changes can be observed by using io.livekit.android.util.flow
isSpeaking
Link copied to clipboard
@FlowObservable()
var isSpeaking: Boolean
Changes can be observed by using io.livekit.android.util.flow
joinedAt
Link copied to clipboard
val joinedAt: <ERROR CLASS>
Timestamp when participant joined room, in milliseconds
lastSpokeAt
Link copied to clipboard
@FlowObservable()
var lastSpokeAt: Long?
Timestamp when the participant last started speaking, in milliseconds
metadata
Link copied to clipboard
@FlowObservable()
var metadata: String?
Changes can be observed by using io.livekit.android.util.flow
name
Link copied to clipboard
@FlowObservable()
var name: String?
participantInfo
Link copied to clipboard
@FlowObservable()
var participantInfo: <ERROR CLASS>?
Changes can be observed by using io.livekit.android.util.flow
permissions
Link copied to clipboard
@FlowObservable()
var permissions: ParticipantPermission?
sid
Link copied to clipboard
var sid: Participant.Sid
trackPublications
Link copied to clipboard
@FlowObservable()
var trackPublications: <ERROR CLASS>
Maps track sids to their track publications.
videoTrackPublications
Link copied to clipboard
@FlowObservable()
val videoTrackPublications: <ERROR CLASS>
Changes can be observed by using io.livekit.android.util.flow

Inheritors

LocalParticipant
Link copied to clipboard
RemoteParticipant
Link copied to clipboard

Sources

SDK source
Link copied to clipboard