Package com.twilio.video
Interface Participant
-
- All Known Implementing Classes:
LocalParticipant,RemoteParticipant
public interface ParticipantInterface that represents user in aRoom.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classParticipant.StateThe state of the signaling connection for a Participant.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<AudioTrackPublication>getAudioTracks()ReturnsAudioTrackPublications of participant.java.util.List<DataTrackPublication>getDataTracks()ReturnsDataTrackPublications of participant.java.lang.StringgetIdentity()Returns participant identity.NetworkQualityLevelgetNetworkQualityLevel()Returns the participant's Network Quality Level.java.lang.StringgetSid()Returns unique identifier of a participant.Participant.StategetState()Returns participant state.java.util.List<VideoTrackPublication>getVideoTracks()ReturnsVideoTrackPublications of participant.
-
-
-
Method Detail
-
getSid
@NonNull java.lang.String getSid()
Returns unique identifier of a participant.
-
getIdentity
@NonNull java.lang.String getIdentity()
Returns participant identity.
-
getState
@NonNull Participant.State getState()
Returns participant state.
-
getNetworkQualityLevel
@NonNull NetworkQualityLevel getNetworkQualityLevel()
Returns the participant's Network Quality Level.This property represents the quality of a Participant's connection in a Room. This value may not be immediately available, and, in some cases, it's impossible to calculate it. In these instances,
getNetworkQualityLevel()will returnNetworkQualityLevel.NETWORK_QUALITY_LEVEL_UNKNOWN. Calling this API in a Peer-to-Peer Room will always returnNetworkQualityLevel.NETWORK_QUALITY_LEVEL_UNKNOWN. This is part of the Network Quality API and must be enabled by enabling theenableNetworkQualityoption inConnectOptions.
-
getAudioTracks
@NonNull java.util.List<AudioTrackPublication> getAudioTracks()
ReturnsAudioTrackPublications of participant.
-
getVideoTracks
@NonNull java.util.List<VideoTrackPublication> getVideoTracks()
ReturnsVideoTrackPublications of participant.
-
getDataTracks
@NonNull java.util.List<DataTrackPublication> getDataTracks()
ReturnsDataTrackPublications of participant.
-
-