public static final class CarrierMessagingService.SendSmsResult
extends Object
| java.lang.Object | |
| android.service.carrier.CarrierMessagingService.SendSmsResult | |
发送短信的结果。
Public constructors |
|
|---|---|
CarrierMessagingService.SendSmsResult(int sendStatus, int messageRef) 用刚刚发送的SMS的发送状态和消息引用构造一个SendSmsResult。 |
|
公共方法(Public methods) |
|
|---|---|
int |
getMessageRef() 返回刚发送的SMS的消息参考。 |
int |
getSendStatus() 返回刚发送的SMS的发送状态。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
CarrierMessagingService.SendSmsResult (int sendStatus,
int messageRef)
用刚刚发送的SMS的发送状态和消息引用构造一个SendSmsResult。
| 参数(Parameters) | |
|---|---|
sendStatus |
int: send status, one of SEND_STATUS_OK, SEND_STATUS_RETRY_ON_CARRIER_NETWORK, and SEND_STATUS_ERROR. |
messageRef |
int: message reference of the just-sent SMS. This field is applicable only if send status is SEND_STATUS_OK. |
int getMessageRef ()
返回刚发送的SMS的消息参考。
| 返回(Returns) | |
|---|---|
int |
the message reference |
int getSendStatus ()
返回刚发送的SMS的发送状态。
| 返回(Returns) | |
|---|---|
int |
the send status |