Share via


Activity.IsTaskRoot Property

Definition

Return whether this activity is the root of a task.

public virtual bool IsTaskRoot { [Android.Runtime.Register("isTaskRoot", "()Z", "GetIsTaskRootHandler")] get; }
[<get: Android.Runtime.Register("isTaskRoot", "()Z", "GetIsTaskRootHandler")>]
member this.IsTaskRoot : bool

Property Value

True if this is the root activity, else false.

Attributes

Remarks

Return whether this activity is the root of a task. The root is the first activity in a task.

Java documentation for android.app.Activity.isTaskRoot().

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