public static final class CarrierMessagingService.SendMultipartSmsResult
extends Object
| java.lang.Object | |
| android.service.carrier.CarrierMessagingService.SendMultipartSmsResult | |
发送多部分SMS的结果。
Public constructors |
|
|---|---|
CarrierMessagingService.SendMultipartSmsResult(int sendStatus, int[] messageRefs) 使用刚发送的多部分SMS的发送状态和消息引用构造SendMultipartSmsResult。 |
|
公共方法(Public methods) |
|
|---|---|
int[] |
getMessageRefs() 返回刚发送的多部分SMS的消息引用。 |
int |
getSendStatus() 返回刚发送的SMS的发送状态。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
CarrierMessagingService.SendMultipartSmsResult (int sendStatus,
int[] messageRefs)
使用刚发送的多部分SMS的发送状态和消息引用构造SendMultipartSmsResult。
| 参数(Parameters) | |
|---|---|
sendStatus |
int: send status, one of SEND_STATUS_OK, SEND_STATUS_RETRY_ON_CARRIER_NETWORK, and SEND_STATUS_ERROR. |
messageRefs |
int: an array of message references, one for each part of the multipart SMS. This field is applicable only if send status is SEND_STATUS_OK. |
int[] getMessageRefs ()
返回刚发送的多部分SMS的消息引用。
| 返回(Returns) | |
|---|---|
int[] |
the message references, one for each part of the multipart SMS |
int getSendStatus ()
返回刚发送的SMS的发送状态。
| 返回(Returns) | |
|---|---|
int |
the send status |