Aracılığıyla paylaş


DevicePolicyManager.ExtraDevicePasswordRequirementOnly Field

Definition

A boolean extra for #ACTION_SET_NEW_PARENT_PROFILE_PASSWORD requesting that only device password requirement is enforced during the parent profile password enrolment flow.

[Android.Runtime.Register("EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY", ApiSince=31)]
public const string ExtraDevicePasswordRequirementOnly;
[<Android.Runtime.Register("EXTRA_DEVICE_PASSWORD_REQUIREMENT_ONLY", ApiSince=31)>]
val mutable ExtraDevicePasswordRequirementOnly : string

Field Value

Attributes

Remarks

A boolean extra for #ACTION_SET_NEW_PARENT_PROFILE_PASSWORD requesting that only device password requirement is enforced during the parent profile password enrolment flow.

Normally when enrolling password for the parent profile, both the device-wide password requirement (requirement set via #getParentProfileInstance(ComponentName) instance) and the profile password requirement are enforced, if the profile currently does not have a separate work challenge. By setting this to true, profile password requirement is explicitly disregarded.

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

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