Fragment.StartIntentSenderForResult Method

Definition

Call Activity.startIntentSenderForResult(IntentSender,int,Intent,int,int,int,Bundle) from the fragment's containing Activity.

[Android.Runtime.Register("startIntentSenderForResult", "(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V", "GetStartIntentSenderForResult_Landroid_content_IntentSender_ILandroid_content_Intent_IIILandroid_os_Bundle_Handler", ApiSince=24)]
public virtual void StartIntentSenderForResult(Android.Content.IntentSender? intent, int requestCode, Android.Content.Intent? fillInIntent, Android.Content.ActivityFlags flagsMask, Android.Content.ActivityFlags flagsValues, int extraFlags, Android.OS.Bundle? options);
[<Android.Runtime.Register("startIntentSenderForResult", "(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V", "GetStartIntentSenderForResult_Landroid_content_IntentSender_ILandroid_content_Intent_IIILandroid_os_Bundle_Handler", ApiSince=24)>]
abstract member StartIntentSenderForResult : Android.Content.IntentSender * int * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int * Android.OS.Bundle -> unit
override this.StartIntentSenderForResult : Android.Content.IntentSender * int * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int * Android.OS.Bundle -> unit

Parameters

intent
IntentSender

IntentSender

requestCode
Int32

int

fillInIntent
Intent

Intent: This value may be null.

flagsMask
ActivityFlags

int

flagsValues
ActivityFlags

int

extraFlags
Int32

int

options
Bundle

Bundle

Attributes

Remarks

Call Activity.startIntentSenderForResult(IntentSender,int,Intent,int,int,int,Bundle) from the fragment's containing Activity.

Throws: IntentSender.SendIntentException

Android reference for android.app.Fragment.startIntentSenderForResult.

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