Activity.FinishActivityFromChild(Activity, Int32) 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.
This method was deprecated in API level 30.
[Android.Runtime.Register("finishActivityFromChild", "(Landroid/app/Activity;I)V", "GetFinishActivityFromChild_Landroid_app_Activity_IHandler")]
public virtual void FinishActivityFromChild(Android.App.Activity child, int requestCode);
[<Android.Runtime.Register("finishActivityFromChild", "(Landroid/app/Activity;I)V", "GetFinishActivityFromChild_Landroid_app_Activity_IHandler")>]
abstract member FinishActivityFromChild : Android.App.Activity * int -> unit
override this.FinishActivityFromChild : Android.App.Activity * int -> unit
Parameters
- child
- Activity
Activity: The activity making the call. This value cannot be null.
- requestCode
- Int32
int: Request code that had been used to start the activity.
- Attributes
Remarks
This method was deprecated in API level 30. Use finishActivity(int) instead.
This is called when a child activity of this one calls its finishActivity().
Android reference for android.app.Activity.finishActivityFromChild.
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.