public interface PresenceService
Modifier and Type | Method and Description |
---|---|
int |
addNote(PresenceNote note)
Adds a note to a presence service.
|
int |
clearNotes()
Clears the notes of a presence service.
|
PresenceBasicStatus |
getBasicStatus()
Gets the basic status of a presence service.
|
java.lang.String |
getContact()
Gets the contact of a presence service.
|
java.lang.String |
getId()
Gets the id of a presence service.
|
int |
getNbNotes()
Gets the number of notes included in the presence service.
|
PresenceNote |
getNthNote(int idx)
Gets the nth note of a presence service.
|
java.lang.String[] |
getServiceDescriptions()
Gets the service descriptions of a presence service.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
setBasicStatus(PresenceBasicStatus basicStatus)
Sets the basic status of a presence service.
|
int |
setContact(java.lang.String contact)
Sets the contact of a presence service.
|
int |
setId(java.lang.String id)
Sets the id of a presence service.
|
int |
setServiceDescriptions(java.lang.String[] descriptions)
Sets the service descriptions of a presence service.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
PresenceBasicStatus getBasicStatus()
PresenceService
object
given as parameter.int setBasicStatus(PresenceBasicStatus basicStatus)
basicStatus
- The LinphonePresenceBasicStatus to set for the PresenceService
object.java.lang.String getContact()
int setContact(java.lang.String contact)
contact
- The contact string to set.java.lang.String getId()
int setId(java.lang.String id)
id
- The id string to set. Can be null to generate it automatically.int getNbNotes()
PresenceService
object.java.lang.String[] getServiceDescriptions()
int setServiceDescriptions(java.lang.String[] descriptions)
descriptions
- A list of char * objects. char * The service descriptions.int addNote(PresenceNote note)
note
- The PresenceNote
object to add to the service.int clearNotes()
PresenceNote getNthNote(int idx)
idx
- The index of the note to get (the first note having the index 0).PresenceNote
object if successful, null
otherwise.void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()