java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.USSD
public static class SIPNotification.USSD
USSD notification.
Triggered by: incoming USSD messages or report about success/failure about the outgoing USSD messages sent by API_SendUSSD.
Event: SIPNotificationListener.onUSSD
Fields: USSD,line,status,text
Field Summary | |
---|---|
static int | USSD_FAILED
send failed |
static int | USSD_RECEIVED
received |
static int | USSD_SENT
send succeeded |
static int | USSD_UNKNOWN
unrecognized |
Method Summary | |
---|---|
int | getLine()
endpoint line |
int | getStatus()
USSD_... |
java.lang.String | getStatusText()
status as string |
java.lang.String | getText()
received USDD string (if status is 2) otherwise it might contain an error (if status is 0) |
Methods inherited from class webphone.SIPNotification |
---|
getNotificationType, toString |
Field Detail |
---|
public static final int USSD_UNKNOWN
public static final int USSD_FAILED
public static final int USSD_SENT
public static final int USSD_RECEIVED
Method Detail |
---|
public int getLine()
public int getStatus()
public java.lang.String getStatusText()
public java.lang.String getText()