Fragment.StartActivityForResult 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
StartActivityForResult(Intent, Int32) |
Call |
StartActivityForResult(Intent, Int32, Bundle) |
Call |
StartActivityForResult(Intent, Int32)
Call Activity#startActivityForResult(Intent, int)
from the fragment's
containing Activity.
[Android.Runtime.Register("startActivityForResult", "(Landroid/content/Intent;I)V", "GetStartActivityForResult_Landroid_content_Intent_IHandler")]
public virtual void StartActivityForResult (Android.Content.Intent? intent, int requestCode);
[<Android.Runtime.Register("startActivityForResult", "(Landroid/content/Intent;I)V", "GetStartActivityForResult_Landroid_content_Intent_IHandler")>]
abstract member StartActivityForResult : Android.Content.Intent * int -> unit
override this.StartActivityForResult : Android.Content.Intent * int -> unit
Parameters
- intent
- Intent
- requestCode
- Int32
- Attributes
Remarks
Call Activity#startActivityForResult(Intent, int)
from the fragment's containing Activity.
Java documentation for android.app.Fragment.startActivityForResult(android.content.Intent, int)
.
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
StartActivityForResult(Intent, Int32, Bundle)
Call Activity#startActivityForResult(Intent, int, Bundle)
from the fragment's
containing Activity.
[Android.Runtime.Register("startActivityForResult", "(Landroid/content/Intent;ILandroid/os/Bundle;)V", "GetStartActivityForResult_Landroid_content_Intent_ILandroid_os_Bundle_Handler")]
public virtual void StartActivityForResult (Android.Content.Intent? intent, int requestCode, Android.OS.Bundle? options);
[<Android.Runtime.Register("startActivityForResult", "(Landroid/content/Intent;ILandroid/os/Bundle;)V", "GetStartActivityForResult_Landroid_content_Intent_ILandroid_os_Bundle_Handler")>]
abstract member StartActivityForResult : Android.Content.Intent * int * Android.OS.Bundle -> unit
override this.StartActivityForResult : Android.Content.Intent * int * Android.OS.Bundle -> unit
Parameters
- intent
- Intent
- requestCode
- Int32
- options
- Bundle
- Attributes
Remarks
Call Activity#startActivityForResult(Intent, int, Bundle)
from the fragment's containing Activity.
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.