Language

Activity.FinishFromChild(Activity) Method

Definition

This method was deprecated in API level 30.

[Android.Runtime.Register("finishFromChild", "(Landroid/app/Activity;)V", "GetFinishFromChild_Landroid_app_Activity_Handler")]
public virtual void FinishFromChild(Android.App.Activity? child);
[<Android.Runtime.Register("finishFromChild", "(Landroid/app/Activity;)V", "GetFinishFromChild_Landroid_app_Activity_Handler")>]
abstract member FinishFromChild : Android.App.Activity -> unit
override this.FinishFromChild : Android.App.Activity -> unit

Parameters

child
Activity

Activity: The activity making the call.

Attributes

Remarks

This method was deprecated in API level 30. Use finish() instead.

This is called when a child activity of this one calls its finish() method. The default implementation simply calls finish() on this activity (the parent), finishing the entire group.

See also:

Android reference for android.app.Activity.finishFromChild.

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