Language

PrivateDnsSet Enum

Definition

public enum PrivateDnsSet
type PrivateDnsSet = 
Inheritance
PrivateDnsSet

Fields

Name Value Description
NoError 0

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.

Android reference 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.

ErrorHostNotServing 1

If the privateDnsHost provided was of a valid hostname but that host was found to not support DNS-over-TLS.

Android reference for android.app.admin.DevicePolicyManager.PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING.

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.

ErrorFailureSetting 2

General failure to set the Private DNS mode, not due to one of the reasons listed above.

Android reference for android.app.admin.DevicePolicyManager.PRIVATE_DNS_SET_ERROR_FAILURE_SETTING.

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