Package org.linphone.core
Interface ParticipantInfo
public interface ParticipantInfo
Object defining all information related to a participant.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String name, String value) Set the a custom parameter to objectParticipantInfo
.clone()
Clone an objectParticipantInfo
.Get the address of the objectParticipantInfo
.long
Gets the native pointer used by this class to make native method calls.getParameterValue
(String name) Get the value of a custom parameter of the objectParticipantInfo
.getRole()
Get the role of the objectParticipantInfo
.Gets the object stored in this object user's databoolean
hasParameter
(String name) Find whether aParticipantInfo
has a parameter.void
removeParameter
(String name) Find the value of a custom parameter of the objectParticipantInfo
.void
setRole
(Participant.Role role) Set the role of the objectParticipantInfo
.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getAddress
- Returns:
- the
Address
of theParticipantInfo
object.
-
getRole
- Returns:
- the
Participant#Role
of theParticipantInfo
object.
-
setRole
- Parameters:
role
- theParticipant#Role
of theParticipantInfo
object.
-
addParameter
- Parameters:
name
- the name of the parameter.value
- the value of the parameter.
-
clone
- Returns:
- the cloned
ParticipantInfo
object.
-
getParameterValue
- Parameters:
name
- the name of the parameter.- Returns:
- value the value of the parameter.
-
hasParameter
- Parameters:
name
- the name of the parameter.- Returns:
- true if the parameter is present, false otherwise
-
removeParameter
- Parameters:
name
- the name of the parameter.
-
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()
-