public static final class CarrierMessagingService.SendMultipartSmsResult extends Object
Constructor and Description |
---|
SendMultipartSmsResult(int sendStatus,
int[] messageRefs)
Constructs a SendMultipartSmsResult with the send status and message references for the
just-sent multipart SMS.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getMessageRefs()
Returns the message references of the just-sent multipart SMS.
|
int |
getSendStatus()
Returns the send status of the just-sent SMS.
|
public SendMultipartSmsResult(int sendStatus, int[] messageRefs)
sendStatus
- send status, one of CarrierMessagingService.SEND_STATUS_OK
,
CarrierMessagingService.SEND_STATUS_RETRY_ON_CARRIER_NETWORK
, and CarrierMessagingService.SEND_STATUS_ERROR
.messageRefs
- an array of message references, one for each part of the
multipart SMS. This field is applicable only if send status is
CarrierMessagingService.SEND_STATUS_OK
.public int[] getMessageRefs()
public int getSendStatus()