Udostępnij za pośrednictwem


Activity.FinishActivityFromChild(Activity, Int32) Method

Definition

This is called when a child activity of this one calls its finishActivity().

[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

The activity making the call.

requestCode
Int32

Request code that had been used to start the activity.

Attributes

Remarks

This is called when a child activity of this one calls its finishActivity().

This member is deprecated. Use #finishActivity(int) instead.

Java documentation for android.app.Activity.finishActivityFromChild(android.app.Activity, 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