Share via


MockContext.StartIntentSender Method

Definition

Overloads

StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32)
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle)

Like StartActivity(Intent, Bundle), but taking a IntentSender to start.

StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32)

[Android.Runtime.Register("startIntentSender", "(Landroid/content/IntentSender;Landroid/content/Intent;III)V", "GetStartIntentSender_Landroid_content_IntentSender_Landroid_content_Intent_IIIHandler")]
public override void StartIntentSender (Android.Content.IntentSender? intent, Android.Content.Intent? fillInIntent, Android.Content.ActivityFlags flagsMask, Android.Content.ActivityFlags flagsValues, int extraFlags);
[<Android.Runtime.Register("startIntentSender", "(Landroid/content/IntentSender;Landroid/content/Intent;III)V", "GetStartIntentSender_Landroid_content_IntentSender_Landroid_content_Intent_IIIHandler")>]
override this.StartIntentSender : Android.Content.IntentSender * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int -> unit

Parameters

intent
IntentSender

The IntentSender to launch.

flagsMask
ActivityFlags

Intent flags in the original IntentSender that you would like to change.

flagsValues
ActivityFlags

Desired values for any bits set in flagsMask

extraFlags
Int32

Always set to 0.

Attributes

Exceptions

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

StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle)

Like StartActivity(Intent, Bundle), but taking a IntentSender to start.

[Android.Runtime.Register("startIntentSender", "(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V", "GetStartIntentSender_Landroid_content_IntentSender_Landroid_content_Intent_IIILandroid_os_Bundle_Handler")]
public override void StartIntentSender (Android.Content.IntentSender? intent, Android.Content.Intent? fillInIntent, Android.Content.ActivityFlags flagsMask, Android.Content.ActivityFlags flagsValues, int extraFlags, Android.OS.Bundle? options);
[<Android.Runtime.Register("startIntentSender", "(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V", "GetStartIntentSender_Landroid_content_IntentSender_Landroid_content_Intent_IIILandroid_os_Bundle_Handler")>]
override this.StartIntentSender : Android.Content.IntentSender * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int * Android.OS.Bundle -> unit

Parameters

intent
IntentSender

The IntentSender to launch.

flagsMask
ActivityFlags

Intent flags in the original IntentSender that you would like to change.

flagsValues
ActivityFlags

Desired values for any bits set in flagsMask

extraFlags
Int32

Always set to 0.

options
Bundle

Additional options for how the Activity should be started. See StartActivity(Intent, Bundle) for more details. If options have also been supplied by the IntentSender, options given here will override any that conflict with those given by the IntentSender.

Attributes

Exceptions

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