Dela via


ActivityManager.LockTaskModeState Property

Definition

Return the current state of task locking.

public virtual Android.App.LockTaskMode LockTaskModeState { [Android.Runtime.Register("getLockTaskModeState", "()I", "GetGetLockTaskModeStateHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getLockTaskModeState", "()I", "GetGetLockTaskModeStateHandler", ApiSince=23)>]
member this.LockTaskModeState : Android.App.LockTaskMode

Property Value

Attributes

Remarks

Return the current state of task locking. The three possible outcomes are #LOCK_TASK_MODE_NONE, #LOCK_TASK_MODE_LOCKED and #LOCK_TASK_MODE_PINNED.

Java documentation for android.app.ActivityManager.getLockTaskModeState().

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