FragmentHostCallback.OnStartIntentSenderFromFragment 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.
Starts a new IntentSender from the given fragment.
[Android.Runtime.Register("onStartIntentSenderFromFragment", "(Landroid/app/Fragment;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V", "GetOnStartIntentSenderFromFragment_Landroid_app_Fragment_Landroid_content_IntentSender_ILandroid_content_Intent_IIILandroid_os_Bundle_Handler", ApiSince=24)]
public virtual void OnStartIntentSenderFromFragment(Android.App.Fragment? fragment, 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("onStartIntentSenderFromFragment", "(Landroid/app/Fragment;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V", "GetOnStartIntentSenderFromFragment_Landroid_app_Fragment_Landroid_content_IntentSender_ILandroid_content_Intent_IIILandroid_os_Bundle_Handler", ApiSince=24)>]
abstract member OnStartIntentSenderFromFragment : Android.App.Fragment * Android.Content.IntentSender * int * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int * Android.OS.Bundle -> unit
override this.OnStartIntentSenderFromFragment : Android.App.Fragment * Android.Content.IntentSender * int * Android.Content.Intent * Android.Content.ActivityFlags * Android.Content.ActivityFlags * int * Android.OS.Bundle -> unit
Parameters
- fragment
- Fragment
Fragment
- 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
Exceptions
The intent sender cannot be sent.
The default implementation receives a requestCode other than -1.
Remarks
Starts an intent sender on behalf of the fragment. The default implementation requires requestCode to be -1 and forwards the remaining launch arguments to the host context.
Android reference for android.app.FragmentHostCallback.onStartIntentSenderFromFragment.
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.