Loading telephony/java/com/android/internal/telephony/ISms.aidl +29 −3 Original line number Diff line number Diff line Loading @@ -152,9 +152,8 @@ interface ISms { in PendingIntent sentIntent, in PendingIntent deliveryIntent); /** * Send an SMS with priority. * Send an SMS with options. * * @param destAddr the address to send the message to * @param smsc the SMSC to send the message through, or NULL for the * default SMSC * @param text the body of the message to send Loading @@ -176,7 +175,7 @@ interface ISms { * raw pdu of the status report is in the extended data ("pdu"). * @param priority Priority level of the message */ void sendTextWithPriority(String callingPkg, in String destAddr, in String scAddr, void sendTextWithOptions(String callingPkg, in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in PendingIntent deliveryIntent, in int priority); Loading Loading @@ -206,6 +205,33 @@ interface ISms { in List<String> parts, in List<PendingIntent> sentIntents, in List<PendingIntent> deliveryIntents); /** * Send a multi-part text based SMS. * * @param destinationAddress the address to send the message to * @param scAddress is the service center address or null to use * the current default SMSC * @param parts an <code>ArrayList</code> of strings that, in order, * comprise the original message * @param sentIntents if not null, an <code>ArrayList</code> of * <code>PendingIntent</code>s (one for each message part) that is * broadcast when the corresponding message part has been sent. * The result code will be <code>Activity.RESULT_OK<code> for success, * or one of these errors: * <code>RESULT_ERROR_GENERIC_FAILURE</code> * <code>RESULT_ERROR_RADIO_OFF</code> * <code>RESULT_ERROR_NULL_PDU</code>. * @param deliveryIntents if not null, an <code>ArrayList</code> of * <code>PendingIntent</code>s (one for each message part) that is * broadcast when the corresponding message part has been delivered * to the recipient. The raw pdu of the status report is in the * extended data ("pdu"). * @param priority Priority level of the message */ void sendMultipartTextWithOptions(String callingPkg, in String destinationAddress, in String scAddress, in List<String> parts, in List<PendingIntent> sentIntents, in List<PendingIntent> deliveryIntents, in int priority); /** * Enable reception of cell broadcast (SMS-CB) messages with the given * message identifier. Note that if two different clients enable the same Loading Loading
telephony/java/com/android/internal/telephony/ISms.aidl +29 −3 Original line number Diff line number Diff line Loading @@ -152,9 +152,8 @@ interface ISms { in PendingIntent sentIntent, in PendingIntent deliveryIntent); /** * Send an SMS with priority. * Send an SMS with options. * * @param destAddr the address to send the message to * @param smsc the SMSC to send the message through, or NULL for the * default SMSC * @param text the body of the message to send Loading @@ -176,7 +175,7 @@ interface ISms { * raw pdu of the status report is in the extended data ("pdu"). * @param priority Priority level of the message */ void sendTextWithPriority(String callingPkg, in String destAddr, in String scAddr, void sendTextWithOptions(String callingPkg, in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in PendingIntent deliveryIntent, in int priority); Loading Loading @@ -206,6 +205,33 @@ interface ISms { in List<String> parts, in List<PendingIntent> sentIntents, in List<PendingIntent> deliveryIntents); /** * Send a multi-part text based SMS. * * @param destinationAddress the address to send the message to * @param scAddress is the service center address or null to use * the current default SMSC * @param parts an <code>ArrayList</code> of strings that, in order, * comprise the original message * @param sentIntents if not null, an <code>ArrayList</code> of * <code>PendingIntent</code>s (one for each message part) that is * broadcast when the corresponding message part has been sent. * The result code will be <code>Activity.RESULT_OK<code> for success, * or one of these errors: * <code>RESULT_ERROR_GENERIC_FAILURE</code> * <code>RESULT_ERROR_RADIO_OFF</code> * <code>RESULT_ERROR_NULL_PDU</code>. * @param deliveryIntents if not null, an <code>ArrayList</code> of * <code>PendingIntent</code>s (one for each message part) that is * broadcast when the corresponding message part has been delivered * to the recipient. The raw pdu of the status report is in the * extended data ("pdu"). * @param priority Priority level of the message */ void sendMultipartTextWithOptions(String callingPkg, in String destinationAddress, in String scAddress, in List<String> parts, in List<PendingIntent> sentIntents, in List<PendingIntent> deliveryIntents, in int priority); /** * Enable reception of cell broadcast (SMS-CB) messages with the given * message identifier. Note that if two different clients enable the same Loading