public interface ParticipantDevice
Conference
orChatRoom
. Address
whichgetAddress()
. It is specially usefull to know theChatRoom
.ParticipantDevice
using Participant.getDevices()
Modifier and Type | Method | Description |
---|---|---|
void |
addListener(ParticipantDeviceListener listener) |
|
java.lang.Object |
createNativeVideoWindowId() |
Create a window ID and return it.
|
Address |
getAddress() |
Get the address of a participant's device.
|
ParticipantDeviceDisconnectionMethod |
getDisconnectionMethod() |
Get the disconnection method.
|
java.lang.String |
getDisconnectionReason() |
Get the disconnection reason.
|
boolean |
getIsMuted() |
Return whether the participant device is muted or not.
|
boolean |
getIsSpeaking() |
Return whether the participant device is speaking or not.
|
ParticipantDeviceJoiningMethod |
getJoiningMethod() |
Get the joining method or it the device is the focus owner.
|
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.
|
java.lang.Object |
getNativeVideoWindowId() |
Get window ID.
|
ChatRoomSecurityLevel |
getSecurityLevel() |
Get the security level of a participant's device.
|
int |
getSsrc(StreamType streamType) |
Get the audio stream SSRC of the device.
|
ParticipantDeviceState |
getState() |
Get the state of a participant device.
|
boolean |
getStreamAvailability(StreamType streamType) |
Get the stream availability of the device.
|
MediaDirection |
getStreamCapability(StreamType streamType) |
Get the stream capability of the device.
|
long |
getTimeOfDisconnection() |
Get the timestamp the device left a conference.
|
long |
getTimeOfJoining() |
Get the timestamp the device joined a conference.
|
java.lang.Object |
getUserData() |
Gets the object stored in this object user's data
|
boolean |
isInConference() |
Return whether the participant device is in a conference or not.
|
void |
removeListener(ParticipantDeviceListener listener) |
|
void |
setNativeVideoWindowId(java.lang.Object windowId) |
Set window ID for a device.
|
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 ParticipantDeviceDisconnectionMethod getDisconnectionMethod()
ParticipantDeviceDisconnectionMethod
@Nullable java.lang.String getDisconnectionReason()
boolean isInConference()
boolean getIsMuted()
boolean getIsSpeaking()
ParticipantDeviceJoiningMethod getJoiningMethod()
ParticipantDeviceJoiningMethod
@Nullable java.lang.String getName()
@Nullable java.lang.Object getNativeVideoWindowId()
void setNativeVideoWindowId(@Nullable java.lang.Object windowId)
windowId
- the window ID of the device ChatRoomSecurityLevel getSecurityLevel()
ChatRoomSecurityLevel
of the device ParticipantDeviceState getState()
ParticipantDeviceState
of the device long getTimeOfDisconnection()
long getTimeOfJoining()
@Nullable java.lang.Object createNativeVideoWindowId()
int getSsrc(StreamType streamType)
streamType
- A StreamType
boolean getStreamAvailability(StreamType streamType)
ParticipantDevice
streamType
- A StreamType
MediaDirection getStreamCapability(StreamType streamType)
streamType
- A StreamType
MediaDirection
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