Language

ActivityGroup.CurrentActivity Property

Definition

Caution

deprecated

Gets the current child activity reported by the local activity manager.

[System.Obsolete("deprecated")]
public virtual Android.App.Activity? CurrentActivity { [Android.Runtime.Register("getCurrentActivity", "()Landroid/app/Activity;", "GetGetCurrentActivityHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getCurrentActivity", "()Landroid/app/Activity;", "GetGetCurrentActivityHandler")>]
member this.CurrentActivity : Android.App.Activity

Property Value

The local manager's current activity, or null when none is current.

Attributes

Remarks

Android reference for android.app.ActivityGroup.getCurrentActivity.

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