Language

NetworkSecurityPolicy.DomainEncryptionModeOpportunistic Field

Definition

Caution

This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.

Domain encryption is in opportunistic mode for the app.

[Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.", true)]
public const Android.Security.DomainEncryptionMode DomainEncryptionModeOpportunistic = 2;
[Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC", ApiSince=37)]
public const Android.Security.DomainEncryptionMode DomainEncryptionModeOpportunistic = 2;
[<Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.", true)>]
val mutable DomainEncryptionModeOpportunistic : Android.Security.DomainEncryptionMode
[<Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_OPPORTUNISTIC", ApiSince=37)>]
val mutable DomainEncryptionModeOpportunistic : Android.Security.DomainEncryptionMode

Field Value

Value = 2
Attributes

Remarks

This constant was deprecated in API level 37.2. Use DOMAIN_ENCRYPTION_MODE_ENABLED instead.

Android reference for android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_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