Partager via


NetworkCapabilities.NetCapabilityTrusted Field

Definition

Caution

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

Indicates that the user has indicated implicit trust of this network.

[Android.Runtime.Register("NET_CAPABILITY_TRUSTED")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)]
public const Android.Net.NetCapability NetCapabilityTrusted = 14;
[<Android.Runtime.Register("NET_CAPABILITY_TRUSTED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)>]
val mutable NetCapabilityTrusted : Android.Net.NetCapability

Field Value

Value = 14

Implements

Attributes

Remarks

Indicates that the user has indicated implicit trust of this network. This generally means it's a sim-selected carrier, a plugged in ethernet, a paired BT device or a wifi the user asked to connect to. Untrusted networks are probably limited to unknown wifi AP. Set by default.

Java documentation for android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED.

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