ICarrierMessagingServicepublic interface ICarrierMessagingService implements android.os.IInterfaceNote:
This service can only be implemented by a carrier privileged app. |
Methods Summary |
---|
public void | downloadMms(android.net.Uri pduUri, int subId, android.net.Uri location, android.service.carrier.ICarrierMessagingCallback callback)Request downloading a new MMS.
The service will call {@link ICarrierMessagingCallback#onDownloadMmsComplete} with the
download status.
| public void | filterSms(android.service.carrier.MessagePdu pdu, java.lang.String format, int destPort, int subId, android.service.carrier.ICarrierMessagingCallback callback)Request filtering an incoming SMS message.
The service will call callback.onFilterComplete with the filtering result.
| public void | sendDataSms(byte[] data, int subId, java.lang.String destAddress, int destPort, android.service.carrier.ICarrierMessagingCallback callback)Request sending a new data SMS from the device.
The service will call {@link ICarrierMessagingCallback#onSendSmsComplete} with the send
status.
| public void | sendMms(android.net.Uri pduUri, int subId, android.net.Uri location, android.service.carrier.ICarrierMessagingCallback callback)Request sending a new MMS PDU from the device.
The service will call {@link ICarrierMessagingCallback#onSendMmsComplete} with the send
status.
| public void | sendMultipartTextSms(java.util.List parts, int subId, java.lang.String destAddress, android.service.carrier.ICarrierMessagingCallback callback)Request sending a new multi-part text SMS from the device.
The service will call {@link ICarrierMessagingCallback#onSendMultipartSmsComplete}
with the send status.
| public void | sendTextSms(java.lang.String text, int subId, java.lang.String destAddress, android.service.carrier.ICarrierMessagingCallback callback)Request sending a new text SMS from the device.
The service will call {@link ICarrierMessagingCallback#onSendSmsComplete} with the send
status.
|
|