public interface ParticipantDevice
Conference
orChatRoom
. Address
whichgetAddress()
. It is specially usefull to know theChatRoom
.ParticipantDevice
using Participant.getDevices()
Modifier and Type | Method and Description |
---|---|
void |
addListener(ParticipantDeviceListener listener) |
Address |
getAddress()
Get the address of a participant's device.
|
MediaDirection |
getAudioDirection()
Get the audio direction of the device.
|
java.lang.String |
getName()
Return the name of the device or null.
|
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
ChatRoomSecurityLevel |
getSecurityLevel()
Get the security level of a participant's device.
|
int |
getSsrc()
Get the SSRC of the device.
|
MediaDirection |
getTextDirection()
Get the text direction of the device.
|
long |
getTimeOfJoining()
Get the timestamp the device joined a conference.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
MediaDirection |
getVideoDirection()
Get the video direction of the device.
|
boolean |
isInConference()
Return whether the participant device is in a conference or not.
|
void |
removeListener(ParticipantDeviceListener listener) |
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String |
toString() |
@NonNull Address getAddress()
Address
of the participant's device MediaDirection getAudioDirection()
boolean isInConference()
@Nullable java.lang.String getName()
ChatRoomSecurityLevel getSecurityLevel()
ChatRoomSecurityLevel
of the device int getSsrc()
MediaDirection getTextDirection()
long getTimeOfJoining()
MediaDirection getVideoDirection()
void addListener(ParticipantDeviceListener listener)
void removeListener(ParticipantDeviceListener listener)
void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object