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


Nested Class Summary
 
Nested classes/interfaces inherited from class webphone.SIPNotification
SIPNotification.Account, SIPNotification.AI, SIPNotification.Answer, SIPNotification.APIResult, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.LicKey, SIPNotification.Line, SIPNotification.Log, SIPNotification.Media, 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
 
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
 
Fields inherited from class webphone.SIPNotification
NOTIFICATION_ACCOUNT, NOTIFICATION_AI, NOTIFICATION_ALL, NOTIFICATION_ANSWER, NOTIFICATION_APIRESULT, 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_LICKEY, NOTIFICATION_LINE, NOTIFICATION_LOG, NOTIFICATION_MEDIA, 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_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC
 
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, getNotificationTypeText, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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)