public static interface

WorkingMessage.MessageStatusListener

com.android.mms.data.WorkingMessage.MessageStatusListener
Known Indirect Subclasses

Class Overview

Callback interface for communicating important state changes back to ComposeMessageActivity.

Summary

Public Methods
abstract void onAttachmentChanged()
Called when an attachment on the message has changed.
abstract void onAttachmentError(int error)
Called if there's an attachment error while resizing the images just before sending.
abstract void onMaxPendingMessagesReached()
Called if there are too many unsent messages in the queue and we're not allowing any more Mms's to be sent.
abstract void onMessageSent()
Called once the process of sending a message, triggered by send has completed.
abstract void onPreMessageSent()
Called just before the process of sending a message.
abstract void onProtocolChanged(boolean mms)
Called when the protocol for sending the message changes from SMS to MMS, and vice versa.

Public Methods

public abstract void onAttachmentChanged ()

Called when an attachment on the message has changed.

public abstract void onAttachmentError (int error)

Called if there's an attachment error while resizing the images just before sending.

public abstract void onMaxPendingMessagesReached ()

Called if there are too many unsent messages in the queue and we're not allowing any more Mms's to be sent.

public abstract void onMessageSent ()

Called once the process of sending a message, triggered by send has completed. This doesn't mean the send succeeded, just that it has been dispatched to the network.

public abstract void onPreMessageSent ()

Called just before the process of sending a message.

public abstract void onProtocolChanged (boolean mms)

Called when the protocol for sending the message changes from SMS to MMS, and vice versa.

Parameters
mms If true, it changed to MMS. If false, to SMS.