Compartilhar via


DevicePolicyManager.PrivateDnsModeOff Field

Definition

Caution

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

Specifies that Private DNS was turned off completely.

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

Field Value

Value = 1
Attributes

Remarks

Specifies that Private DNS was turned off completely.

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

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