Most visited

Recently visited

Added in API level 22

CarrierMessagingService.SendMultipartSmsResult

public static final class CarrierMessagingService.SendMultipartSmsResult
extends Object

java.lang.Object
   ↳ android.service.carrier.CarrierMessagingService.SendMultipartSmsResult


发送多部分SMS的结果。

Summary

Public constructors

CarrierMessagingService.SendMultipartSmsResult(int sendStatus, int[] messageRefs)

使用刚发送的多部分SMS的发送状态和消息引用构造SendMultipartSmsResult。

Public methods

int[] getMessageRefs()

返回刚发送的多部分SMS的消息引用。

int getSendStatus()

返回刚发送的SMS的发送状态。

Inherited methods

From class java.lang.Object

Public constructors

CarrierMessagingService.SendMultipartSmsResult

Added in API level 22
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.

Public methods

getMessageRefs

Added in API level 22
int[] getMessageRefs ()

返回刚发送的多部分SMS的消息引用。

Returns
int[] the message references, one for each part of the multipart SMS

getSendStatus

Added in API level 22
int getSendStatus ()

返回刚发送的SMS的发送状态。

Returns
int the send status

Hooray!