Share via


DevicePolicyManager.PrivateDnsModeOpportunistic 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 requested opportunistic DNS over TLS

[Android.Runtime.Register("PRIVATE_DNS_MODE_OPPORTUNISTIC", 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 PrivateDnsModeOpportunistic = 2;
[<Android.Runtime.Register("PRIVATE_DNS_MODE_OPPORTUNISTIC", 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 PrivateDnsModeOpportunistic : Android.App.Admin.PrivateDnsMode

Field Value

Value = 2
Attributes

Remarks

Specifies that the device owner requested opportunistic DNS over TLS

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

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