public class

SmsSingleRecipientSender

extends SmsMessageSender
java.lang.Object
   ↳ com.android.mms.transaction.SmsMessageSender
     ↳ com.android.mms.transaction.SmsSingleRecipientSender

Summary

[Expand]
Inherited Constants
From interface com.android.mms.transaction.MessageSender
[Expand]
Inherited Fields
From class com.android.mms.transaction.SmsMessageSender
Public Constructors
SmsSingleRecipientSender(Context context, String dest, String msgText, long threadId, boolean requestDeliveryReport, Uri uri)
Public Methods
boolean sendMessage(long token)
Send the message through MMS or SMS protocol.
[Expand]
Inherited Methods
From class com.android.mms.transaction.SmsMessageSender
From class java.lang.Object
From interface com.android.mms.transaction.MessageSender

Public Constructors

public SmsSingleRecipientSender (Context context, String dest, String msgText, long threadId, boolean requestDeliveryReport, Uri uri)

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