Android.App.Admin.DeviceAdminUses Enumeration
Enumerates values returned by several types and taken as a parameter of the DeviceAdminInfo.GetTagForPolicy, DeviceAdminInfo.UsesPolicy, and DevicePolicyManager.HasGrantedPolicy members.

Syntax

public enum DeviceAdminUses

Remarks

Enumerates values returned by the following: and taken as a parameter of the DeviceAdminInfo.GetTagForPolicy, DeviceAdminInfo.UsesPolicy, and DevicePolicyManager.HasGrantedPolicy members.

Members

Member NameDescription
EncryptedStorage

To control this policy, the device admin must have a "encrypted-storage" tag in the "uses-policies" section of its meta-data.

PolicyDisableCamera

To control this policy, the device admin must have a "disable-camera" tag in the "uses-policies" section of its meta-data.

PolicyDisableKeyguardFeatures

To control this policy, the device admin must have a "disable-keyguard-features" tag in the "uses-policies" section of its meta-data.

PolicyExpirePassword

To control this policy, the device admin must have an "expire-password" tag in the "uses-policies" section of its meta-data.

PolicyForceLock

DevicePolicyManager.LockNow DevicePolicyManager.SetMaximumTimeToLock(Android.Content.ComponentName, System.Int64)

To control this policy, the device admin must have a "force-lock" tag in the "uses-policies" section of its meta-data.

PolicyLimitPassword

DevicePolicyManager.SetPasswordQuality(Android.Content.ComponentName, Android.App.Admin.PasswordQuality) DevicePolicyManager.SetPasswordMinimumLength(Android.Content.ComponentName, System.Int32)

To control this policy, the device admin must have a "limit-password" tag in the "uses-policies" section of its meta-data.

PolicyResetPassword

DevicePolicyManager.ResetPassword(string, Android.App.Admin.ResetPasswordFlags)

To control this policy, the device admin must have a "reset-password" tag in the "uses-policies" section of its meta-data.

PolicyWatchLogin

DeviceAdminReceiver.ActionPasswordFailed DeviceAdminReceiver.ActionPasswordSucceeded DevicePolicyManager.CurrentFailedPasswordAttempts

To control this policy, the device admin must have a "watch-login" tag in the "uses-policies" section of its meta-data.

PolicyWipeData

DevicePolicyManager.WipeData(WipeDataFlags)

To control this policy, the device admin must have a "wipe-data" tag in the "uses-policies" section of its meta-data.

Requirements

Namespace: Android.App.Admin
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0