Android.App.Activity.CreatePendingResult Method
Create a new PendingIntent object which you can hand to others for them to use to send result data back to your Activity.OnActivityResult(int, Android.App.Result, Android.App.Result) callback.

Syntax

[Android.Runtime.Register("createPendingResult", "(ILandroid/content/Intent;I)Landroid/app/PendingIntent;", "GetCreatePendingResult_ILandroid_content_Intent_IHandler")]
public virtual PendingIntent CreatePendingResult (int requestCode, Android.Content.Intent data, [Android.Runtime.GeneratedEnum] PendingIntentFlags flags)

See Also

PendingIntent

Parameters

requestCode
Private request code for the sender that will be associated with the result data when it is returned. The sender can not modify this value, allowing you to identify incoming results.
data
Default data to supply in the result, which may be modified by the sender.
flags
May be PendingIntent.FLAG_ONE_SHOT, PendingIntent.FLAG_NO_CREATE, PendingIntent.FLAG_CANCEL_CURRENT, PendingIntent.FLAG_UPDATE_CURRENT, or any of the flags as supported by Android.Content.Intent.FillIn(Android.Content.Intent, Android.Content.FillInFlags) to control which unspecified parts of the intent that can be supplied when the actual send happens.

Returns

Documentation for this section has not yet been entered.

Remarks

Create a new PendingIntent object which you can hand to others for them to use to send result data back to your Activity.OnActivityResult(int, Android.App.Result, Android.App.Result) callback. The created object will be either one-shot (becoming invalid after a result is sent back) or multiple (allowing any number of results to be sent through it).

[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