Språk

ApplicationInfo.IsAppLockSupported Property

Definition

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.

Applies to