Added in API level 22

SendMmsResult

class SendMmsResult
kotlin.Any
   ↳ android.service.carrier.CarrierMessagingService.SendMmsResult

The result of sending an MMS.

Summary

Public constructors
SendMmsResult(sendStatus: Int, sendConfPdu: ByteArray?)

Constructs a SendMmsResult with the MMS send result, and the SendConf PDU.

Public methods
ByteArray?

Returns the SendConf PDU, which confirms that the message was sent.

Int

Returns the send status of the just-sent MMS.

Public constructors

SendMmsResult

Added in API level 22
SendMmsResult(
    sendStatus: Int,
    sendConfPdu: ByteArray?)

Constructs a SendMmsResult with the MMS send result, and the SendConf PDU.

Parameters
sendStatus Int: send status, one of SEND_STATUS_OK, SEND_STATUS_RETRY_ON_CARRIER_NETWORK, and SEND_STATUS_ERROR
sendConfPdu ByteArray?: a possibly {code null} SendConf PDU, which confirms that the message was sent. sendConfPdu is ignored if the result is not SEND_STATUS_OK.

Public methods

getSendConfPdu

Added in API level 22
fun getSendConfPdu(): ByteArray?

Returns the SendConf PDU, which confirms that the message was sent.

Return
ByteArray? the SendConf PDU This value may be null.

getSendStatus

Added in API level 22
fun getSendStatus(): Int

Returns the send status of the just-sent MMS.

Return
Int the send status which is one of SEND_STATUS_OK, SEND_STATUS_RETRY_ON_CARRIER_NETWORK, and SEND_STATUS_ERROR