Instrumentation.ActivityResult(Result, Intent) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new activity result.
[Android.Runtime.Register(".ctor", "(ILandroid/content/Intent;)V", "")]
public ActivityResult (Android.App.Result resultCode, Android.Content.Intent? resultData);
[<Android.Runtime.Register(".ctor", "(ILandroid/content/Intent;)V", "")>]
new Android.App.Instrumentation.ActivityResult : Android.App.Result * Android.Content.Intent -> Android.App.Instrumentation.ActivityResult
Parameters
- resultCode
- Result
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.
- Attributes
Remarks
Create a new activity result. See Activity#setResult
for more information.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.