Merge "Add an API call to update the status of a pending outbound SMS message and resend by PSTN if necessary."

This commit is contained in:
Cheuksan Wang
2014-06-23 17:42:39 +00:00
committed by Android (Google) Code Review

View File

@@ -222,6 +222,17 @@ interface ISms {
*/
void injectSmsPdu(in byte[] pdu, String format, in PendingIntent receivedIntent);
/**
* Update the status of a pending (send-by-IP) SMS message and resend by PSTN if necessary.
* This outbound message was handled by the carrier app. If the carrier app fails to send
* this message, it would be resent by PSTN.
*
* @param messageRef the reference number of the SMS message.
* @param success True if and only if the message was sent successfully. If its value is
* false, this message should be resent via PSTN.
*/
void updateSmsSendStatus(int messageRef, boolean success);
/**
* Send a multi-part text based SMS.
*