java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.ChatReport
public static class SIPNotification.ChatReport
CHATREPORT notification.
Triggered by: IM send state (so you can check if outgoing message sent with the API_SendChat was delivered successfully or failed)
Event: SIPNotificationListener.onChatReport
Fields: CHATREPORT,line,peername,status,statustext,group,md5,id
Field Summary | |
---|---|
static int | STATUS_FAILED
failed |
static int | STATUS_INIT
send initialized |
static int | STATUS_QUEUED
queued for later send (offline messagine) |
static int | STATUS_SENDING
sending in progress |
static int | STATUS_SENT
successfully sent |
static int | STATUS_UNKNOWN
unrecognized |
Method Summary | |
---|---|
java.lang.String | getGroup()
optional parameter for group chat (member names separated by | |
int | getID()
message ID (user supplied msgid, 3gpp message reference or generated id) |
int | getLine()
endpoint line |
java.lang.String | getMD5()
the MD5 checksum of the message text |
java.lang.String | getPeer()
other party username |
int | getStatus()
send state (STATUS_... |
java.lang.String | getStatusText()
state text |
Methods inherited from class webphone.SIPNotification |
---|
getNotificationType, toString |
Field Detail |
---|
public static final int STATUS_UNKNOWN
public static final int STATUS_INIT
public static final int STATUS_SENDING
public static final int STATUS_SENT
public static final int STATUS_FAILED
public static final int STATUS_QUEUED
Method Detail |
---|
public int getLine()
public int getStatus()
public java.lang.String getStatusText()
public java.lang.String getPeer()
public java.lang.String getGroup()
public java.lang.String getMD5()
public int getID()