Activity.Parent Property

Definition

This method was deprecated in API level 35.

public Android.App.Activity? Parent { [Android.Runtime.Register("getParent", "()Landroid/app/Activity;", "")] get; }
[<get: Android.Runtime.Register("getParent", "()Landroid/app/Activity;", "")>]
member this.Parent : Android.App.Activity

Property Value

This Android.App.Activity instance, allowing calls to be chained.

Attributes

Remarks

This method was deprecated in API level 35. ActivityGroup is deprecated.

Returns the parent Activity if this is a child Activity of an ActivityGroup.

Android reference for android.app.Activity.getParent.

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