Build 1.0_r1(from source)

android.app
Class Instrumentation.ActivityResult

java.lang.Object
  extended by android.app.Instrumentation.ActivityResult
Enclosing class:
Instrumentation

public static final class Instrumentation.ActivityResult
extends Object

Description of a Activity execution result to return to the original activity.


Constructor Summary
Instrumentation.ActivityResult(int resultCode, Intent resultData)
          Create a new activity result.
 
Method Summary
 int getResultCode()
          Retrieve the result code contained in this result.
 Intent getResultData()
          Retrieve the data contained in this result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instrumentation.ActivityResult

public Instrumentation.ActivityResult(int resultCode,
                                      Intent resultData)
Create a new activity result. See Activity.setResult(int) for more information.

Parameters:
resultCode - The result code to propagate back to the originating activity, often RESULT_CANCELED or RESULT_OK
resultData - The data to propagate back to the originating activity.
Method Detail

getResultCode

public int getResultCode()
Retrieve the result code contained in this result.


getResultData

public Intent getResultData()
Retrieve the data contained in this result.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature