Android.App.Activity.OnActivityResult Method
Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.

Syntax

[Android.Runtime.Register("onActivityResult", "(IILandroid/content/Intent;)V", "GetOnActivityResult_IILandroid_content_Intent_Handler")]
protected virtual void OnActivityResult (int requestCode, [Android.Runtime.GeneratedEnum] Result resultCode, Android.Content.Intent data)

See Also

Activity.StartActivityForResult(Android.Content.Intent, System.Int32)
Activity.CreatePendingResult(int, Android.Content.Intent, Android.Content.Intent)
Activity.SetResult(Result)

Parameters

requestCode
The integer request code originally supplied to startActivityForResult(), allowing you to identify who this result came from.
resultCode
The integer result code returned by the child activity through its setResult().
data
An Intent, which can return result data to the caller (various data can be attached to Intent "extras").

Remarks

Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it. The resultCode will be Activity.RESULT_CANCELED if the activity explicitly returned that, didn't return any result, or crashed during its operation.

You will receive this call immediately before onResume() when your activity is re-starting.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1