This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Presence Service
Frank Tarsillo edited this page Jan 29, 2017
·
5 revisions
Until further notice, all real-time presence updates are now disabled. Presence poll methods could create significant stress on the Symphony POD instance.
The presence service is intended to keep track of all presence updates on a given Symphony instance (POD). This is handled through polling for the presence of all users on the network. Like other services, listeners can be registered supporting notification of presence changes.
//Retrieve presence service from symphony client.
symClient.getPresenceService()
class aClass implements PresenceListener{
...
symClient.getPresenceService().addListener(this);
//Presence update from listener
void onUserPresence(UserPresence userPresence){
}
The following are presence states
AVAILABLE("AVAILABLE"),
BUSY("BUSY"),
DO_NOT_DISTURB("DO_NOT_DISTURB"),
ON_THE_PHONE("ON_THE_PHONE"),
BE_RIGHT_BACK("BE_RIGHT_BACK"),
AWAY("AWAY"),
OFFLINE("OFFLINE");
Next Topic: Connections Service