Språk

ApplicationInfo.IsAppLockEnabled Property

Definition

App lock enablement state of an application.

[Android.Runtime.Register("isAppLockEnabled", ApiSince=37)]
public bool IsAppLockEnabled { get; set; }
[<Android.Runtime.Register("isAppLockEnabled", ApiSince=37)>]
member this.IsAppLockEnabled : bool with get, set

Property Value

Attributes

Remarks

App lock enablement state of an application. This field is only set if the PackageManager.GET_APP_LOCK_INFO was used when retrieving the application info and the caller has the Manifest.permission.LOCK_APPS permission and will default to false. To enable App Lock for a package, call PackageManager.getEnableAppLockIntentForPackage.

Android reference for android.content.pm.ApplicationInfo.isAppLockEnabled.

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