Android.Content.Context.StartIntentSender Method
Like Context.StartActivity(Intent, Android.OS.Bundle), but taking a IntentSender to start.

Syntax

[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 abstract void StartIntentSender (IntentSender intent, Intent fillInIntent, [Android.Runtime.GeneratedEnum] ActivityFlags flagsMask, [Android.Runtime.GeneratedEnum] ActivityFlags flagsValues, int extraFlags, Android.OS.Bundle options)

See Also

Context.StartActivity(Intent, Android.OS.Bundle)
Context.StartIntentSender(IntentSender, Android.Content.Intent, Android.Content.Intent, Android.Content.Intent, Android.Content.Intent)

Parameters

intent
The IntentSender to launch.
fillInIntent
If non-null, this will be provided as the intent parameter to IntentSender.SendIntent(Context, Android.App.Result, Android.App.Result, Android.App.Result, Android.App.Result).
flagsMask
Intent flags in the original IntentSender that you would like to change.
flagsValues
Desired values for any bits set in flagsMask
extraFlags
Always set to 0.
options
Additional options for how the Activity should be started. See Context.StartActivity(Intent, Android.OS.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.

Exceptions

TypeReason
!:NoType:android/content/IntentSender$SendIntentException;Href=../../../reference/android/content/IntentSender.SendIntentException.html

Remarks

Like Context.StartActivity(Intent, Android.OS.Bundle), but taking a IntentSender to start. If the IntentSender is for an activity, that activity will be started as if you had called the regular Context.StartActivity(Intent) here; otherwise, its associated action will be executed (such as sending a broadcast) as if you had called IntentSender.SendIntent(Context, Android.App.Result, Android.App.Result, Android.App.Result, Android.App.Result) on it.

[Android Documentation]

Requirements

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