public class RemoteParticipant extends java.lang.Object implements Participant
Room
.Modifier and Type | Class and Description |
---|---|
static interface |
RemoteParticipant.Listener
Interface that provides
RemoteParticipant events. |
Participant.State
Modifier and Type | Method and Description |
---|---|
java.util.List<AudioTrackPublication> |
getAudioTracks()
Returns read-only list of audio track publications.
|
java.util.List<DataTrackPublication> |
getDataTracks()
Returns read-only list of data track publications.
|
java.lang.String |
getIdentity()
Returns the identity of the remote participant.
|
NetworkQualityLevel |
getNetworkQualityLevel()
Returns the
RemoteParticipant 's Network Quality Level. |
java.util.List<RemoteAudioTrackPublication> |
getRemoteAudioTracks()
Returns read-only list of remote audio track publications.
|
java.util.List<RemoteDataTrackPublication> |
getRemoteDataTracks()
Returns a read-only list of remote data track publications.
|
java.util.List<RemoteVideoTrackPublication> |
getRemoteVideoTracks()
Returns read-only list of remote video track publications.
|
java.lang.String |
getSid()
Returns the SID of a remote participant.
|
Participant.State |
getState()
Returns participant state.
|
java.util.List<VideoTrackPublication> |
getVideoTracks()
Returns read-only list of video track publications.
|
void |
setListener(RemoteParticipant.Listener listener)
Set listener for this participant events.
|
@NonNull public java.lang.String getSid()
getSid
in interface Participant
@NonNull public java.lang.String getIdentity()
getIdentity
in interface Participant
@NonNull public Participant.State getState()
getState
in interface Participant
@NonNull public NetworkQualityLevel getNetworkQualityLevel()
RemoteParticipant
's Network Quality Level.getNetworkQualityLevel
in interface Participant
Participant.getNetworkQualityLevel()
@NonNull public java.util.List<AudioTrackPublication> getAudioTracks()
getAudioTracks
in interface Participant
@NonNull public java.util.List<VideoTrackPublication> getVideoTracks()
getVideoTracks
in interface Participant
@NonNull public java.util.List<DataTrackPublication> getDataTracks()
getDataTracks
in interface Participant
public java.util.List<RemoteAudioTrackPublication> getRemoteAudioTracks()
public java.util.List<RemoteVideoTrackPublication> getRemoteVideoTracks()
public java.util.List<RemoteDataTrackPublication> getRemoteDataTracks()
public void setListener(RemoteParticipant.Listener listener)
listener
- of participant events.6.0.0