Android
android.app
public static final class

android.app.Instrumentation.ActivityResult

java.lang.Object
android.app.Instrumentation.ActivityResult

Description of a Activity execution result to return to the original activity. Used with execStartActivity(Context, IApplicationThread, IBinder, Activity, Intent, int).

Summary

Public Constructors

            Instrumentation.ActivityResult(int resultCode, Intent resultData)
Create a new activity result.

Public Methods

          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

Details

Public Constructors

public Instrumentation.ActivityResult(int resultCode, Intent resultData)

Create a new activity result. See 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.

Public Methods

public int getResultCode()

Retrieve the result code contained in this result.

public Intent getResultData()

Retrieve the data contained in this result.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56