public static final class Instrumentation.ActivityResult
extends Object
| java.lang.Object | |
| android.app.Instrumentation.ActivityResult | |
要返回到原始活动的活动执行结果的描述。
Public constructors |
|
|---|---|
Instrumentation.ActivityResult(int resultCode, Intent resultData) 创建一个新的活动结果。 |
|
公共方法(Public methods) |
|
|---|---|
int |
getResultCode() 检索包含在此结果中的结果代码。 |
Intent |
getResultData() 检索包含在此结果中的数据。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
Instrumentation.ActivityResult (int resultCode,
Intent resultData)
创建一个新的活动结果。 有关更多信息,请参阅setResult(int) 。
| 参数(Parameters) | |
|---|---|
resultCode |
int: The result code to propagate back to the originating activity, often RESULT_CANCELED or RESULT_OK |
resultData |
Intent: The data to propagate back to the originating activity. |