ApplicationInfo.IsAppLockSupported Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If true this app supports App Lock.
[Android.Runtime.Register("isAppLockSupported", ApiSince=37)]
public bool IsAppLockSupported { get; set; }
[<Android.Runtime.Register("isAppLockSupported", ApiSince=37)>]
member this.IsAppLockSupported : bool with get, set
Property Value
- Attributes
Remarks
If true this app supports App Lock. 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.isAppLockSupported.
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.