Share via


TaskInfo.TopActivity Property

Definition

The component of the top activity in the task, currently showing to the user.

[Android.Runtime.Register("topActivity", ApiSince=29)]
public Android.Content.ComponentName? TopActivity { get; set; }
[<Android.Runtime.Register("topActivity", ApiSince=29)>]
member this.TopActivity : Android.Content.ComponentName with get, set

Property Value

Attributes

Remarks

The component of the top activity in the task, currently showing to the user.

Java documentation for android.app.TaskInfo.topActivity.

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