Compartilhar via


DevicePolicyManager.PrivateDnsSetNoError Field

Definition

Caution

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

The selected mode has been set successfully.

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

Field Value

Value = 0
Attributes

Remarks

The selected mode has been set successfully. If the mode is PRIVATE_DNS_MODE_PROVIDER_HOSTNAME then it implies the supplied host is valid and reachable.

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

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