Context.StartIntentSender Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32) |
Same as |
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) |
Like |
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32)
Same as #startIntentSender(IntentSender, Intent, int, int, int, Bundle)
with no options specified.
[Android.Runtime.Register("startIntentSender", "(Landroid/content/IntentSender;Landroid/content/Intent;III)V", "GetStartIntentSender_Landroid_content_IntentSender_Landroid_content_Intent_IIIHandler")]
public abstract 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")>]
abstract member StartIntentSender : Android.Content.IntentSender * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int -> unit
Parameters
- intent
- IntentSender
The IntentSender to launch.
- fillInIntent
- Intent
If non-null, this will be provided as the
intent parameter to IntentSender#sendIntent
.
- flagsMask
- ActivityFlags
Intent flags in the original IntentSender that you would like to change.
- flagsValues
- ActivityFlags
Desired values for any bits set in <var>flagsMask</var>
- extraFlags
- Int32
Always set to 0.
- Attributes
Exceptions
Remarks
Same as #startIntentSender(IntentSender, Intent, int, int, int, Bundle)
with no options specified.
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.
See also
- StartActivity(Intent)
- <xref:Android.Content.Context.StartIntentSender(Android.Content.IntentSender%2c+Android.Content.Intent%2c+Android.Content.Intent%2c+Android.Content.Intent%2c+Android.Content.Intent%2c+Android.Content.Intent)>
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 abstract 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")>]
abstract member 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.
- fillInIntent
- Intent
If non-null, this will be provided as the
intent parameter to IntentSender#sendIntent
.
- flagsMask
- ActivityFlags
Intent flags in the original IntentSender that you would like to change.
- flagsValues
- ActivityFlags
Desired values for any bits set in <var>flagsMask</var>
- extraFlags
- Int32
Always set to 0.
- options
- Bundle
Additional options for how the Activity should be started.
See android.content.Context#startActivity(Intent, Bundle)
Context.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
Like #startActivity(Intent, 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 #startActivity(Intent)
here; otherwise, its associated action will be executed (such as sending a broadcast) as if you had called IntentSender#sendIntent IntentSender.sendIntent
on it.
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.
See also
- <xref:Android.Content.Context.StartActivity(Android.Content.Intent%2c+Android.OS.Bundle)>
- <xref:Android.Content.Context.StartIntentSender(Android.Content.IntentSender%2c+Android.Content.Intent%2c+Android.Content.Intent%2c+Android.Content.Intent%2c+Android.Content.Intent)>