public class RemoteParticipant extends Object implements Participant
Room
.Modifier and Type | Class and Description |
---|---|
static interface |
RemoteParticipant.Listener
Interface that provides
RemoteParticipant events. |
Modifier and Type | Method and Description |
---|---|
List<AudioTrackPublication> |
getAudioTracks()
Returns read-only list of audio track publications.
|
List<DataTrackPublication> |
getDataTracks()
Returns read-only list of data track publications.
|
String |
getIdentity()
Returns the identity of the remote participant.
|
List<RemoteAudioTrackPublication> |
getRemoteAudioTracks()
Returns read-only list of remote audio track publications.
|
List<RemoteDataTrackPublication> |
getRemoteDataTracks()
Returns a read-only list of remote data track publications.
|
List<RemoteVideoTrackPublication> |
getRemoteVideoTracks()
Returns read-only list of remote video track publications.
|
String |
getSid()
Returns the SID of a remote participant.
|
List<VideoTrackPublication> |
getVideoTracks()
Returns read-only list of video track publications.
|
boolean |
isConnected()
Checks if the participant is connected to a room.
|
void |
setListener(RemoteParticipant.Listener listener)
Set listener for this participant events.
|
public String getSid()
getSid
in interface Participant
public String getIdentity()
getIdentity
in interface Participant
public List<AudioTrackPublication> getAudioTracks()
getAudioTracks
in interface Participant
public List<VideoTrackPublication> getVideoTracks()
getVideoTracks
in interface Participant
public List<DataTrackPublication> getDataTracks()
getDataTracks
in interface Participant
public List<RemoteAudioTrackPublication> getRemoteAudioTracks()
public List<RemoteVideoTrackPublication> getRemoteVideoTracks()
public List<RemoteDataTrackPublication> getRemoteDataTracks()
public void setListener(RemoteParticipant.Listener listener)
listener
- of participant events.public boolean isConnected()
3.2.2