Package org.linphone.core
Interface ParticipantInfo
public interface ParticipantInfo
Object defining all information related to a participant.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(String name, String value) Set the a custom parameter to objectParticipantInfo.clone()Clone an objectParticipantInfo.Get the address of the objectParticipantInfo.Get the CCMP uri of the objectParticipantInfo.longGets 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 databooleanhasParameter(String name) Find whether aParticipantInfohas a parameter.voidremoveParameter(String name) Find the value of a custom parameter of the objectParticipantInfo.voidsetRole(Participant.Role role) Set the role of the objectParticipantInfo.voidsetUserData(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getAddress
- Returns:
- the
Addressof theParticipantInfoobject.
-
getCcmpUri
- Returns:
- the CCMP uri of the
ParticipantInfoor null.
-
getRole
- Returns:
- the
Participant#Roleof theParticipantInfoobject.
-
setRole
- Parameters:
role- theParticipant#Roleof theParticipantInfoobject.
-
addParameter
- Parameters:
name- the name of the parameter.value- the value of the parameter.
-
clone
- Returns:
- the cloned
ParticipantInfoobject.
-
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()
-