public static class SIPNotification.Presence extends SIPNotification
SIPNotification.Answer, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.Line, SIPNotification.Log, SIPNotification.MWI, SIPNotification.NewContact, SIPNotification.PlayReady, SIPNotification.Popup, SIPNotification.Presence, SIPNotification.Rating, SIPNotification.Register, SIPNotification.RTPE, SIPNotification.RTPStat, SIPNotification.RTPT, SIPNotification.ServerContacts, SIPNotification.ShouldReset, SIPNotification.SIP, SIPNotification.SRS, SIPNotification.Start, SIPNotification.Status, SIPNotification.Stop, SIPNotification.USSD, SIPNotification.VAD, SIPNotification.Video, SIPNotification.Vrec
Modifier and Type | Field and Description |
---|---|
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
|
NOTIFICATION_ALL, NOTIFICATION_ANSWER, NOTIFICATION_BLF, NOTIFICATION_BLOCK, NOTIFICATION_CDR, NOTIFICATION_CHAT, NOTIFICATION_CHATCOMPOSING, NOTIFICATION_CHATREPORT, NOTIFICATION_CREDIT, NOTIFICATION_DTMF, NOTIFICATION_EVENT, NOTIFICATION_GROUP, NOTIFICATION_INFO, NOTIFICATION_INVALID, NOTIFICATION_LINE, NOTIFICATION_LOG, NOTIFICATION_MWI, NOTIFICATION_NEWUSER, NOTIFICATION_PLAYREADY, NOTIFICATION_POPUP, NOTIFICATION_PRESENCE, NOTIFICATION_RATING, NOTIFICATION_REGISTER, NOTIFICATION_RTPE, NOTIFICATION_RTPSTAT, NOTIFICATION_RTPT, NOTIFICATION_SERVERCONTACTS, NOTIFICATION_SHOULDRESET, NOTIFICATION_SIP, NOTIFICATION_SRS, NOTIFICATION_START, NOTIFICATION_STATUS, NOTIFICATION_STOP, notification_type, NOTIFICATION_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC
Modifier and Type | Method and Description |
---|---|
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
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toString
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
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()
public void Parse(java.lang.String str, java.lang.String[] params)