public class

TransactionState

extends Object
java.lang.Object
   ↳ com.android.mms.transaction.TransactionState

Class Overview

TransactionState intends to encapsulate all the informations which would be known by the observers of transactions. To encapsulate Transaction- State into an intent, it should implement Parcelable interface.

Summary

Constants
int FAILED Result code indicates the Transaction failed.
int INITIALIZED Result code indicates the Transaction has not started.
int SUCCESS Result code indicates the Transaction successfully complete.
Public Constructors
TransactionState()
Public Methods
synchronized Uri getContentUri()
To represent the result uri of transaction such as uri of MM.
synchronized int getState()
To represent the current state(or the result of processing) to the ones who wants to know the state.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int FAILED

Result code indicates the Transaction failed.

Constant Value: 2 (0x00000002)

public static final int INITIALIZED

Result code indicates the Transaction has not started.

Constant Value: 0 (0x00000000)

public static final int SUCCESS

Result code indicates the Transaction successfully complete.

Constant Value: 1 (0x00000001)

Public Constructors

public TransactionState ()

Public Methods

public synchronized Uri getContentUri ()

To represent the result uri of transaction such as uri of MM.

Returns
  • Result uri.

public synchronized int getState ()

To represent the current state(or the result of processing) to the ones who wants to know the state.

Returns
  • Current state of the Transaction.