Methods Summary |
---|
public android.net.Uri | addMultimediaMessageDraft(java.lang.String callingPkg, android.net.Uri contentUri)Add a multimedia message draft to system MMS store
|
public android.net.Uri | addTextMessageDraft(java.lang.String callingPkg, java.lang.String address, java.lang.String text)Add a text message draft to system SMS store
|
public boolean | archiveStoredConversation(java.lang.String callingPkg, long conversationId, boolean archived)Archive or unarchive a stored conversation
|
public boolean | deleteStoredConversation(java.lang.String callingPkg, long conversationId)Delete a system stored SMS or MMS thread
|
public boolean | deleteStoredMessage(java.lang.String callingPkg, android.net.Uri messageUri)Delete a system stored SMS or MMS message
|
public void | downloadMessage(int subId, java.lang.String callingPkg, java.lang.String locationUrl, android.net.Uri contentUri, android.os.Bundle configOverrides, android.app.PendingIntent downloadedIntent)Download an MMS message using known location and transaction id
|
public boolean | getAutoPersisting()Get the value of the flag to automatically write sent/received SMS/MMS messages into system
When this flag is on, all SMS/MMS sent/received are stored by system automatically
When this flag is off, only SMS/MMS sent by non-default SMS apps are stored by system
automatically
|
public android.os.Bundle | getCarrierConfigValues(int subId)Get carrier-dependent configuration values.
|
public android.net.Uri | importMultimediaMessage(java.lang.String callingPkg, android.net.Uri contentUri, java.lang.String messageId, long timestampSecs, boolean seen, boolean read)Import a multimedia message into system's MMS store
|
public android.net.Uri | importTextMessage(java.lang.String callingPkg, java.lang.String address, int type, java.lang.String text, long timestampMillis, boolean seen, boolean read)Import a text message into system's SMS store
|
public void | sendMessage(int subId, java.lang.String callingPkg, android.net.Uri contentUri, java.lang.String locationUrl, android.os.Bundle configOverrides, android.app.PendingIntent sentIntent)Send an MMS message
|
public void | sendStoredMessage(int subId, java.lang.String callingPkg, android.net.Uri messageUri, android.os.Bundle configOverrides, android.app.PendingIntent sentIntent)Send a system stored MMS message
This is used for sending a previously sent, but failed-to-send, message or
for sending a text message that has been stored as a draft.
|
public void | setAutoPersisting(java.lang.String callingPkg, boolean enabled)Turns on/off the flag to automatically write sent/received SMS/MMS messages into system
When this flag is on, all SMS/MMS sent/received are stored by system automatically
When this flag is off, only SMS/MMS sent by non-default SMS apps are stored by system
automatically
This flag can only be changed by default SMS apps
|
public boolean | updateStoredMessageStatus(java.lang.String callingPkg, android.net.Uri messageUri, android.content.ContentValues statusValues)Update the status properties of a system stored SMS or MMS message, e.g.
the read status of a message, etc.
|