public class

NotificationTransaction

extends Transaction
implements Runnable
java.lang.Object
   ↳ com.android.mms.transaction.Observable
     ↳ com.android.mms.transaction.Transaction
       ↳ com.android.mms.transaction.NotificationTransaction

Class Overview

The NotificationTransaction is responsible for handling multimedia message notifications (M-Notification.ind). It:

  • Composes the notification response (M-NotifyResp.ind).
  • Sends the notification response to the MMSC server.
  • Stores the notification indication.
  • Notifies the TransactionService about succesful completion.
NOTE: This MMS client handles all notifications with a deferred retrieval response. The transaction service, upon succesful completion of this transaction, will trigger a retrieve transaction in case the client is in immediate retrieve mode.

Summary

[Expand]
Inherited Constants
From class com.android.mms.transaction.Transaction
[Expand]
Inherited Fields
From class com.android.mms.transaction.Transaction
Public Constructors
NotificationTransaction(Context context, int serviceId, TransactionSettings connectionSettings, String uriString)
NotificationTransaction(Context context, int serviceId, TransactionSettings connectionSettings, NotificationInd ind)
This constructor is only used for test purposes.
Public Methods
int getType()
Get the type of the transaction.
void process()
An instance of Transaction encapsulates the actions required during a MMS Client transaction.
void run()
[Expand]
Inherited Methods
From class com.android.mms.transaction.Transaction
From class com.android.mms.transaction.Observable
From class java.lang.Object
From interface java.lang.Runnable

Public Constructors

public NotificationTransaction (Context context, int serviceId, TransactionSettings connectionSettings, String uriString)

public NotificationTransaction (Context context, int serviceId, TransactionSettings connectionSettings, NotificationInd ind)

This constructor is only used for test purposes.

Public Methods

public int getType ()

Get the type of the transaction.

Returns
  • Transaction type in integer.

public void process ()

An instance of Transaction encapsulates the actions required during a MMS Client transaction.

public void run ()