webphone
Class SIPNotification.ChatReport

java.lang.Object
  extended by webphone.SIPNotification
      extended by webphone.SIPNotification.ChatReport
Enclosing class:
SIPNotification

public static class SIPNotification.ChatReport
extends SIPNotification

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 intSTATUS_FAILED
          failed
static intSTATUS_INIT
          send initialized
static intSTATUS_QUEUED
          queued for later send (offline messagine)
static intSTATUS_SENDING
          sending in progress
static intSTATUS_SENT
          successfully sent
static intSTATUS_UNKNOWN
          unrecognized
 
Method Summary
 java.lang.StringgetGroup()
          optional parameter for group chat (member names separated by |
 intgetID()
          message ID (user supplied msgid, 3gpp message reference or generated id)
 intgetLine()
          endpoint line
 java.lang.StringgetMD5()
          the MD5 checksum of the message text
 java.lang.StringgetPeer()
          other party username
 intgetStatus()
          send state (STATUS_...
 java.lang.StringgetStatusText()
          state text
 
Methods inherited from class webphone.SIPNotification
getNotificationType, toString
  

Field Detail

STATUS_UNKNOWN

public static final int STATUS_UNKNOWN
unrecognized

See Also:
Constant Field Values

STATUS_INIT

public static final int STATUS_INIT
send initialized

See Also:
Constant Field Values

STATUS_SENDING

public static final int STATUS_SENDING
sending in progress

See Also:
Constant Field Values

STATUS_SENT

public static final int STATUS_SENT
successfully sent

See Also:
Constant Field Values

STATUS_FAILED

public static final int STATUS_FAILED
failed

See Also:
Constant Field Values

STATUS_QUEUED

public static final int STATUS_QUEUED
queued for later send (offline messagine)

See Also:
Constant Field Values
 
Method Detail

getLine

public int getLine()
endpoint line


getStatus

public int getStatus()
send state (STATUS_... constant)


getStatusText

public java.lang.String getStatusText()
state text


getPeer

public java.lang.String getPeer()
other party username


getGroup

public java.lang.String getGroup()
optional parameter for group chat (member names separated by |


getMD5

public java.lang.String getMD5()
the MD5 checksum of the message text


getID

public int getID()
message ID (user supplied msgid, 3gpp message reference or generated id)