|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectxp.msg.UcpStatus
public class UcpStatus
This class represents a UCP Status Report result.
| Field Summary | |
|---|---|
static int |
STATUS_DELETE
Delete status |
static int |
STATUS_DELIVERY
Delivery status |
static int |
STATUS_INQUIRY
Inquiry status |
| 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. |
java.lang.String |
getMessage()
Gets the system message sent by the SMSC. |
int |
getReasonCode()
Gets the reason code of the SMSC. |
int |
getType()
Gets the type of this status. |
boolean |
isBuffered()
Check if the Message has been sent buffered. |
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 STATUS_DELIVERY
public static final int STATUS_INQUIRY
public static final int STATUS_DELETE
| Method Detail |
|---|
public boolean isDelivered()
SmsStatus
isDelivered in interface SmsStatuspublic boolean isPermanentError()
SmsStatus
isPermanentError in interface SmsStatuspublic boolean isBuffered()
public int getReasonCode()
public int getType()
STATUS_DELIVERY, STATUS_INQUIRY, STATUS_DELETEpublic java.lang.String getMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Date getDischargeTime()
SmsStatus
getDischargeTime in interface SmsStatuspublic boolean isCancelled()
SmsStatusSmsService.cancel(Message).
isCancelled in interface SmsStatuspublic boolean isDeleted()
SmsStatus
isDeleted in interface SmsStatus
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||