Package com.twilio.video
Class RemoteParticipant
java.lang.Object
com.twilio.video.RemoteParticipant
- All Implemented Interfaces:
Participant
A participant represents a remote user that can connect to a
Room
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface that providesRemoteParticipant
events.Nested classes/interfaces inherited from interface com.twilio.video.Participant
Participant.State
-
Method Summary
Modifier and TypeMethodDescriptionReturns read-only list of audio track publications.Returns read-only list of data track publications.Returns the identity of the remote participant.Returns theRemoteParticipant
's Network Quality Level.Returns read-only list of remote audio track publications.Returns a read-only list of remote data track publications.Returns read-only list of remote video track publications.getSid()
Returns the SID of a remote participant.getState()
Returns participant state.Returns read-only list of video track publications.void
setListener
(RemoteParticipant.Listener listener) Set listener for this participant events.
-
Method Details
-
getSid
Returns the SID of a remote participant.- Specified by:
getSid
in interfaceParticipant
-
getIdentity
Returns the identity of the remote participant.- Specified by:
getIdentity
in interfaceParticipant
-
getState
Returns participant state.- Specified by:
getState
in interfaceParticipant
-
getNetworkQualityLevel
Returns theRemoteParticipant
's Network Quality Level.- Specified by:
getNetworkQualityLevel
in interfaceParticipant
- See Also:
-
getAudioTracks
Returns read-only list of audio track publications.- Specified by:
getAudioTracks
in interfaceParticipant
-
getVideoTracks
Returns read-only list of video track publications.- Specified by:
getVideoTracks
in interfaceParticipant
-
getDataTracks
Returns read-only list of data track publications.- Specified by:
getDataTracks
in interfaceParticipant
-
getRemoteAudioTracks
Returns read-only list of remote audio track publications. -
getRemoteVideoTracks
Returns read-only list of remote video track publications. -
getRemoteDataTracks
Returns a read-only list of remote data track publications. -
setListener
Set listener for this participant events.- Parameters:
listener
- of participant events.
-