Package org.linphone.core
Interface Participant
public interface Participant
Identifies a member of a
A participant is identified by it's SIP address. It can have many
.
Conference
or ChatRoom
. A participant is identified by it's SIP address. It can have many
ParticipantDevice
.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindDevice
(Address address) Find a device in the list of devices from a chat room's participant.findDevice
(Call call) Find a device in the list of devices from a chat room's participant.Get the address of a conference participant.long
Get the timestamp of the creation of the participant.Gets the list of devices from a chat room's participant.long
Gets the native pointer used by this class to make native method calls.getRole()
Get the role of the participant within the conference.Get the security level of a participant.Gets the object stored in this object user's databoolean
isAdmin()
Tells whether a conference participant is an administrator of the conference.boolean
isFocus()
Tells whether a conference participant is the focus of the conference.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getAddress
Get the address of a conference participant.
- Returns:
- The
Address
of the participant
-
getCreationTime
long getCreationTime()Get the timestamp of the creation of the participant.
- Returns:
- time of creation of the participant as returned by time(nullptr). For
UNIX based systems it is the number of seconds since 00:00hours of the 1st of
January 1970
-
getDevices
Gets the list of devices from a chat room's participant.
- Returns:
- List of devices.
-
isAdmin
boolean isAdmin()Tells whether a conference participant is an administrator of the conference.
- Returns:
- A boolean value telling whether the participant is an administrator
-
isFocus
boolean isFocus()Tells whether a conference participant is the focus of the conference.
- Returns:
- A boolean value telling whether the participant is a focus of a
conference
-
getRole
Participant.Role getRole()Get the role of the participant within the conference.
- Returns:
- role within the conference
Participant.Role
-
getSecurityLevel
ChatRoom.SecurityLevel getSecurityLevel()Get the security level of a participant.
- Returns:
- The
ChatRoom#SecurityLevel
of the participant
-
findDevice
Find a device in the list of devices from a chat room's participant.
- Parameters:
call
- ACall
object- Returns:
- a
ParticipantDevice
or null if not found.
-
findDevice
Find a device in the list of devices from a chat room's participant.
- Parameters:
address
- AAddress
object- Returns:
- a
ParticipantDevice
or null if not found.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-