public static final class CarrierMessagingService.SendMmsResult extends Object
Constructor and Description |
---|
SendMmsResult(int sendStatus,
byte[] sendConfPdu)
Constructs a SendMmsResult with the MMS send result, and the SendConf PDU.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getSendConfPdu()
Returns the SendConf PDU, which confirms that the message was sent.
|
int |
getSendStatus()
Returns the send status of the just-sent MMS.
|
public SendMmsResult(int sendStatus, byte[] sendConfPdu)
sendStatus
- send status, one of CarrierMessagingService.SEND_STATUS_OK
,
CarrierMessagingService.SEND_STATUS_RETRY_ON_CARRIER_NETWORK
, and
CarrierMessagingService.SEND_STATUS_ERROR
sendConfPdu
- a possibly {code null} SendConf PDU, which confirms that the message
was sent. sendConfPdu is ignored if the result
is not
CarrierMessagingService.SEND_STATUS_OK
.public int getSendStatus()
CarrierMessagingService.SEND_STATUS_OK
,
CarrierMessagingService.SEND_STATUS_RETRY_ON_CARRIER_NETWORK
, and CarrierMessagingService.SEND_STATUS_ERROR
public byte[] getSendConfPdu()