ActivityManager.IsInLockTaskMode Property

Definition

This method was deprecated in API level 23.

public virtual bool IsInLockTaskMode { [Android.Runtime.Register("isInLockTaskMode", "()Z", "GetIsInLockTaskModeHandler")] get; }
[<get: Android.Runtime.Register("isInLockTaskMode", "()Z", "GetIsInLockTaskModeHandler")>]
member this.IsInLockTaskMode : bool

Property Value

Attributes

Remarks

This method was deprecated in API level 23. Use getLockTaskModeState() instead.

Return whether currently in lock task mode. When in this mode no new tasks can be created or switched to.

See also:

Android reference for android.app.ActivityManager.isInLockTaskMode.

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