Modifier and Type | Field and Description |
---|---|
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 |
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.
|
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() |
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
public boolean isDelivered()
SmsStatus
isDelivered
in interface SmsStatus
public boolean isPermanentError()
SmsStatus
isPermanentError
in interface SmsStatus
public int getStatusCode()
public int getErrorCode()
public java.util.Date getDischargeTime()
SmsStatus
getDischargeTime
in interface SmsStatus
public boolean isCancelled()
SmsStatus
SmsService.cancel(Message)
.isCancelled
in interface SmsStatus
public boolean isDeleted()
SmsStatus
public java.lang.String toString()
toString
in class java.lang.Object
object XP, Inc. © 2000-2013. All rights reserved object XP