Freigeben über


DevicePolicyManager.KeyguardDisableTrustAgents Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.KeyguardDisable enum directly instead of this field.

Disable trust agents on secure keyguard screens (e.

[Android.Runtime.Register("KEYGUARD_DISABLE_TRUST_AGENTS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.KeyguardDisable enum directly instead of this field.", true)]
public const Android.App.Admin.KeyguardDisable KeyguardDisableTrustAgents = 16;
[<Android.Runtime.Register("KEYGUARD_DISABLE_TRUST_AGENTS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.KeyguardDisable enum directly instead of this field.", true)>]
val mutable KeyguardDisableTrustAgents : Android.App.Admin.KeyguardDisable

Field Value

Value = 16
Attributes

Remarks

Disable trust agents on secure keyguard screens (e.g. PIN/Pattern/Password). By setting this flag alone, all trust agents are disabled. If the admin then wants to allowlist specific features of some trust agent, #setTrustAgentConfiguration can be used in conjuction to set trust-agent-specific configurations.

Java documentation for android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_TRUST_AGENTS.

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