Fragment.OnActivityResult(Int32, Result, Intent) Fragment.OnActivityResult(Int32, Result, Intent) Method

Definition

Receive the result from a previous call to StartActivityForResult(Intent, Int32).

[Android.Runtime.Register("onActivityResult", "(IILandroid/content/Intent;)V", "GetOnActivityResult_IILandroid_content_Intent_Handler")]
public virtual void OnActivityResult (int requestCode, Android.App.Result resultCode, Android.Content.Intent data);
abstract member OnActivityResult : int * Android.App.Result * Android.Content.Intent -> unit
override this.OnActivityResult : int * Android.App.Result * Android.Content.Intent -> unit

Parameters

requestCode
Int32 Int32

The integer request code originally supplied to startActivityForResult(), allowing you to identify who this result came from.

resultCode
Result Result

The integer result code returned by the child activity through its setResult().

data
Intent Intent

An Intent, which can return result data to the caller (various data can be attached to Intent "extras").

Remarks

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.

Applies to