public class

MmsMessageSender

extends Object
implements MessageSender
java.lang.Object
   ↳ com.android.mms.transaction.MmsMessageSender

Summary

[Expand]
Inherited Constants
From interface com.android.mms.transaction.MessageSender
Public Constructors
MmsMessageSender(Context context, Uri location, long messageSize)
Public Methods
boolean sendMessage(long token)
Send the message through MMS or SMS protocol.
static void sendReadRec(Context context, String to, String messageId, int status)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.mms.transaction.MessageSender

Public Constructors

public MmsMessageSender (Context context, Uri location, long messageSize)

Public Methods

public boolean sendMessage (long token)

Send the message through MMS or SMS protocol.

Parameters
token The token to identify the sending progress.
Returns
  • True if the message was sent through MMS or false if it was sent through SMS.
Throws
MmsException

public static void sendReadRec (Context context, String to, String messageId, int status)