|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectxp.msg.Cimd2Status
public class Cimd2Status
This class is a representation of a CIMD2 Status Report Operation (23). It is used in conjunction with SMS-Status reports.
SmsMessage.requestStatusReport(boolean),
StatusReportMessage.getStatus(),
Serialized Form| Field Summary | |
|---|---|
static int |
SC_DELIVERY_FAILED
|
static int |
SC_DELIVERY_SUCCESSFUL
|
static int |
SC_IN_PROCESS
|
static int |
SC_LAST_NO_RESPONSE
|
static int |
SC_MESSAGE_CANCELLED
|
static int |
SC_MESSAGE_DELETED
|
static int |
SC_MESSAGE_DELETED_BY_CANCEL
|
static int |
SC_NO_RESPONSE
|
static int |
SC_NO_STATUS_AVAILABLE
|
static int |
SC_VALIDITY_PERIOD_EXPIRED
|
| Method Summary | |
|---|---|
java.util.Date |
getDischargeTime()
Get the time at which a previously submitted SMS was successfully delivered to or attempted to deliver to the recipient or disposed of by the SMSC. |
int |
getErrorCode()
Returns the value of the CIMD2 Status Error Code parameter (ID 62). |
int |
getStatusCode()
Returns the value of the CIMD2 status code parameter (ID 61). |
boolean |
isCancelled()
Returns true if the indicated message has been cancelled by a previous call to SmsService.cancel(Message). |
boolean |
isDeleted()
Returns true if the indicated message has been deleted. |
boolean |
isDelivered()
Check if the Message has been sent sucessfuly. |
boolean |
isPermanentError()
Returns true if a permanent error has occured. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SC_NO_STATUS_AVAILABLE
public static final int SC_IN_PROCESS
public static final int SC_VALIDITY_PERIOD_EXPIRED
public static final int SC_DELIVERY_FAILED
public static final int SC_DELIVERY_SUCCESSFUL
public static final int SC_NO_RESPONSE
public static final int SC_LAST_NO_RESPONSE
public static final int SC_MESSAGE_CANCELLED
public static final int SC_MESSAGE_DELETED
public static final int SC_MESSAGE_DELETED_BY_CANCEL
| Method Detail |
|---|
public boolean isDelivered()
SmsStatus
isDelivered in interface SmsStatuspublic boolean isPermanentError()
SmsStatus
isPermanentError in interface SmsStatuspublic int getStatusCode()
public int getErrorCode()
public java.util.Date getDischargeTime()
SmsStatus
getDischargeTime in interface SmsStatuspublic boolean isCancelled()
SmsStatusSmsService.cancel(Message).
isCancelled in interface SmsStatuspublic boolean isDeleted()
SmsStatus
isDeleted in interface SmsStatuspublic java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||