共用方式為


DevicePolicyManager.PrivateDnsModeProviderHostname 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 the device owner configured a specific host to use for Private DNS.

[Android.Runtime.Register("PRIVATE_DNS_MODE_PROVIDER_HOSTNAME", 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 PrivateDnsModeProviderHostname = 3;
[<Android.Runtime.Register("PRIVATE_DNS_MODE_PROVIDER_HOSTNAME", 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 PrivateDnsModeProviderHostname : Android.App.Admin.PrivateDnsMode

Field Value

Value = 3
Attributes

Remarks

Specifies that the device owner configured a specific host to use for Private DNS.

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

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