Share via


ActivityOptions.LockTaskMode Property

Definition

Gets whether the activity is to be launched into LockTask mode.

public virtual bool LockTaskMode { [Android.Runtime.Register("getLockTaskMode", "()Z", "GetGetLockTaskModeHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getLockTaskMode", "()Z", "GetGetLockTaskModeHandler", ApiSince=28)>]
member this.LockTaskMode : bool

Property Value

true if the activity is to be launched into LockTask mode.

Attributes

Remarks

Gets whether the activity is to be launched into LockTask mode.

Java documentation for android.app.ActivityOptions.getLockTaskMode().

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