|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectxp.msg.GsmStatus
public class GsmStatus
This class is a representation of the TP-STATUS field as defined in GSM 03.40. It is used in conjunction with SMS-Status reports.
SmsMessage.requestStatusReport(boolean),
StatusReportMessage.getStatus(),
Serialized Form| Field Summary | |
|---|---|
static int |
CONGESTION
|
static int |
CONNECTION_REJECTED_BY_SMSC
|
static int |
ERROR_IN_RECIPIENT
|
static int |
INCOMPATIBLE_DESTINATION
|
static int |
NO_INTERWORKING_AVAILABLE
|
static int |
NO_RESPONSE_FROM_RECIPIENT
|
static int |
NOT_OPTIONABLE
|
static int |
QUALITY_NOT_AVAILABLE
|
static int |
QUALITY_OF_SERVICE_NA
|
static int |
RECIPIENT_BUSY
|
static int |
REMOTE_PROCEDURE_ERROR
|
static int |
SERVICE_REJECTED
|
static int |
SMS_DELETED_BY_ORIGINATOR
|
static int |
SMS_DELETED_BY_SMSC_ADMIN
|
static int |
SMS_FORWARDED_TO_RECIPIENT
|
static int |
SMS_NOT_EXISTS
|
static int |
SMS_RECEIVED_BY_RECIPIENT
|
static int |
SMS_REPLACED_BY_SC
|
static int |
SMS_VALIDITY_EXPIRED
|
static int |
UNKNOWN_ERROR
|
| 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 |
getReasonCode()
Get the status code for this object. |
int |
getStatusValue()
Get the status code for this object. |
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. |
boolean |
isTemporaryError()
Returns true if a temporary error has occured. |
boolean |
isTransactionCompleted()
Returns true if the transaction has completed without error. |
boolean |
stillTryingTransferMessage()
Returns true if the Message could not yet be delivered. |
java.lang.String |
toString()
Returns a String representation of this GsmStatus (e.g. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SMS_RECEIVED_BY_RECIPIENT
public static final int SMS_FORWARDED_TO_RECIPIENT
public static final int SMS_REPLACED_BY_SC
public static final int CONGESTION
public static final int RECIPIENT_BUSY
public static final int NO_RESPONSE_FROM_RECIPIENT
public static final int SERVICE_REJECTED
public static final int QUALITY_NOT_AVAILABLE
public static final int ERROR_IN_RECIPIENT
public static final int REMOTE_PROCEDURE_ERROR
public static final int INCOMPATIBLE_DESTINATION
public static final int CONNECTION_REJECTED_BY_SMSC
public static final int NOT_OPTIONABLE
public static final int QUALITY_OF_SERVICE_NA
public static final int NO_INTERWORKING_AVAILABLE
public static final int SMS_VALIDITY_EXPIRED
public static final int SMS_DELETED_BY_ORIGINATOR
public static final int SMS_DELETED_BY_SMSC_ADMIN
public static final int SMS_NOT_EXISTS
public static final int UNKNOWN_ERROR
| Method Detail |
|---|
public int getStatusValue()
SMS_RECEIVED_BY_RECIPIENT.public int getReasonCode()
SMS_RECEIVED_BY_RECIPIENT.public boolean isTransactionCompleted()
public boolean isDelivered()
SmsStatus
isDelivered in interface SmsStatuspublic boolean isPermanentError()
isPermanentError in interface SmsStatuspublic boolean isTemporaryError()
public boolean stillTryingTransferMessage()
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 | ||||||||