java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.Presence
public static class SIPNotification.Presence
PRESENCE notification.
Triggered by: presence changes (peers online status)
Event: SIPNotificationListener.onPresence
Fields: PRESENCE,peername,state,details,displayname,email
Field Summary | |
---|---|
static int | PRESENCE_AWAY
idle |
static int | PRESENCE_BUSY
in call |
static int | PRESENCE_DND
do not disturb |
static int | PRESENCE_OFFLINE
closed |
static int | PRESENCE_ONLINE
available |
static int | PRESENCE_PENDING
new user |
static int | PRESENCE_UNKNOWN
other |
Method Summary | |
---|---|
java.lang.String | getDetails()
presence details if any |
java.lang.String | getEmail()
peer email if any |
java.lang.String | getPeer()
peer username |
java.lang.String | getPeerDisplayname()
peer displayname if any |
int | getStatus()
returns the presence state (PRESENCE_... |
java.lang.String | getStatusText()
presence state as string |
Methods inherited from class webphone.SIPNotification |
---|
getNotificationType, toString |
Field Detail |
---|
public static final int PRESENCE_UNKNOWN
public static final int PRESENCE_OFFLINE
public static final int PRESENCE_DND
public static final int PRESENCE_AWAY
public static final int PRESENCE_BUSY
public static final int PRESENCE_ONLINE
public static final int PRESENCE_PENDING
Method Detail |
---|
public int getStatus()
public java.lang.String getStatusText()
public java.lang.String getDetails()
public java.lang.String getPeer()
public java.lang.String getPeerDisplayname()
public java.lang.String getEmail()