Android APIs
public static final class

CarrierMessagingService.SendMultipartSmsResult

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

Class Overview

The result of sending a multipart SMS.

Summary

Public Constructors
CarrierMessagingService.SendMultipartSmsResult(int sendStatus, int[] messageRefs)
Constructs a SendMultipartSmsResult with the send status and message references for the just-sent multipart SMS.
Public Methods
int[] getMessageRefs()
Returns the message references of the just-sent multipart SMS.
int getSendStatus()
Returns the send status of the just-sent SMS.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

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

Constructs a SendMultipartSmsResult with the send status and message references for the just-sent multipart SMS.

Parameters
sendStatus send status, one of SEND_STATUS_OK, SEND_STATUS_RETRY_ON_CARRIER_NETWORK, and 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 SEND_STATUS_OK.

Public Methods

public int[] getMessageRefs ()

Returns the message references of the just-sent multipart SMS.

Returns
  • the message references, one for each part of the multipart SMS

public int getSendStatus ()

Returns the send status of the just-sent SMS.

Returns
  • the send status