-
public interface ParticipantInterface that represents user in a Room.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumParticipant.StateThe state of the signaling connection for a Participant.
-
Method Summary
Modifier and Type Method Description abstract StringgetSid()Returns unique identifier of a participant. abstract StringgetIdentity()Returns participant identity. abstract Participant.StategetState()Returns participant state. abstract NetworkQualityLevelgetNetworkQualityLevel()Returns the participant's Network Quality Level. abstract List<AudioTrackPublication>getAudioTracks()Returns AudioTrackPublications of participant. abstract List<VideoTrackPublication>getVideoTracks()Returns VideoTrackPublications of participant. abstract List<DataTrackPublication>getDataTracks()Returns DataTrackPublications of participant. -
-
Method Detail
-
getIdentity
@NonNull() abstract String getIdentity()
Returns participant identity.
-
getState
@NonNull() abstract Participant.State getState()
Returns participant state.
-
getNetworkQualityLevel
@NonNull() abstract NetworkQualityLevel getNetworkQualityLevel()
Returns the participant's Network Quality Level.
This property represents the quality of a Participant's connection in a Room. This valuemay not be immediately available, and, in some cases, it's impossible to calculate it. Inthese instances, getNetworkQualityLevel will return . Calling this API in a Peer-to-Peer Roomwill always return NETWORK_QUALITY_LEVEL_UNKNOWN. This is part ofthe Network Quality API and must be enabled by enabling the
{@code enableNetworkQuality}option in ConnectOptions.
-
getAudioTracks
@NonNull() abstract List<AudioTrackPublication> getAudioTracks()
Returns AudioTrackPublications of participant.
-
getVideoTracks
@NonNull() abstract List<VideoTrackPublication> getVideoTracks()
Returns VideoTrackPublications of participant.
-
getDataTracks
@NonNull() abstract List<DataTrackPublication> getDataTracks()
Returns DataTrackPublications of participant.
-
-
-
-