Language

PackageManager.GetAppLockInfo Field

Definition

ApplicationInfo, ComponentInfo, and ResolveInfo flag: return the ApplicationInfo#isAppLockSupported and ApplicationInfo#isAppLockEnabled associated with an application.

[Android.Runtime.Register("GET_APP_LOCK_INFO", ApiSince=37)]
public const long GetAppLockInfo = 34359738368;
[<Android.Runtime.Register("GET_APP_LOCK_INFO", ApiSince=37)>]
val mutable GetAppLockInfo : int64

Field Value

Value = 34359738368
Attributes

Remarks

ApplicationInfo, ComponentInfo, and ResolveInfo flag: return the ApplicationInfo.isAppLockSupported and ApplicationInfo.isAppLockEnabled associated with an application.

The caller should have the Manifest.permission.LOCK_APPS permission, or a SecurityException will be thrown. This flag cannot be used with GET_ATTRIBUTIONS, if the caller wishes to retrieve attributions, they must use GET_ATTRIBUTIONS_LONG.

Android reference for android.content.pm.PackageManager.GET_APP_LOCK_INFO.

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