Package org.linphone.core
Interface PresenceNote
public interface PresenceNote
Presence note type holding information about a presence note.
-
Method Summary
Modifier and TypeMethodDescriptionGets the content of a presence note.getLang()
Gets the language of a presence note.long
Gets the native pointer used by this class to make native method calls.Gets the object stored in this object user's dataint
setContent
(String content) Sets the content of a presence note.int
Sets the language of a presence note.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getContent
Gets the content of a presence note.
- Returns:
- A pointer to the content of the presence note.
-
setContent
Sets the content of a presence note.
- Parameters:
content
- The content of the note.- Returns:
- 0 if successful, a value < 0 in case of error.
-
getLang
Gets the language of a presence note.
- Returns:
- A pointer to the language string of the presence note, or null if no
language is specified.
-
setLang
Sets the language of a presence note.
- Parameters:
lang
- The language of the note.- Returns:
- 0 if successful, a value < 0 in case of error.
-
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()
-