Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87487466 authored by Cheuksan Wang's avatar Cheuksan Wang
Browse files

Add an API call to update the status of a pending outbound SMS message and

resend by PSTN if necessary.

Change-Id: Id847b182874bef057473acf293cee43d9d55f7ab
parent 6123315a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -118,6 +118,17 @@ interface ISms {
    void sendText(String callingPkg, in String destAddr, in String scAddr, in String text,
            in PendingIntent sentIntent, in PendingIntent deliveryIntent);

    /**
     * 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.
     *