Dela via


ActivityManager.IsInLockTaskMode Property

Definition

Return whether currently in lock task mode.

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

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

This member is deprecated. Use #getLockTaskModeState instead.

Java documentation 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

See also