public interface PresenceService
| Modifier and Type | Method | 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.
|
long |
getNativePointer() |
Gets the native pointer used by this class to make native method calls.
|
int |
getNbNotes() |
Gets the number of notes included in the presence service.
|
PresenceNote |
getNthNote(int index) |
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
|
java.lang.String |
toString() |
PresenceBasicStatus getBasicStatus()
PresenceBasicStatus of the PresenceService objectint setBasicStatus(PresenceBasicStatus basicStatus)
basicStatus - The PresenceBasicStatus to set for the PresenceService@Nullable java.lang.String getContact()
int setContact(@Nullable
java.lang.String contact)
contact - The contact string to set. @Nullable java.lang.String getId()
int setId(@Nullable
java.lang.String id)
id - The id string to set. Can be null to generate it automatically. int getNbNotes()
PresenceService object. @NonNull java.lang.String[] getServiceDescriptions()
int setServiceDescriptions(@Nullable
java.lang.String[] descriptions)
descriptions - The service descriptions. int addNote(@NonNull
PresenceNote note)
note - The PresenceNote object to add to the service. int clearNotes()
@Nullable PresenceNote getNthNote(int index)
index - The index of the note to get (the first note having the index 0). PresenceNote object if successful, nullvoid setUserData(java.lang.Object data)
data - the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString in class java.lang.Object