public class UcpStatus extends java.lang.Object implements SmsStatus
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_DELETE
Delete status
|
static int |
STATUS_DELIVERY
Delivery status
|
static int |
STATUS_INQUIRY
Inquiry status
|
Modifier and Type | Method and Description |
---|---|
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() |
public static final int STATUS_DELIVERY
public static final int STATUS_INQUIRY
public static final int STATUS_DELETE
public boolean isDelivered()
SmsStatus
isDelivered
in interface SmsStatus
public boolean isPermanentError()
SmsStatus
isPermanentError
in interface SmsStatus
public boolean isBuffered()
public int getReasonCode()
public int getType()
STATUS_DELIVERY, STATUS_INQUIRY, STATUS_DELETE
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Date getDischargeTime()
SmsStatus
getDischargeTime
in interface SmsStatus
public boolean isCancelled()
SmsStatus
SmsService.cancel(Message)
.isCancelled
in interface SmsStatus
object XP, Inc. © 2000-2013. All rights reserved object XP