语言

NetworkCapabilities.NetCapabilityTrusted 字段

定义

注意

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

指示用户已指示此网络的隐式信任。

[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

字段值

Value = 14

实现

特性

注解

指示用户已指示此网络的隐式信任。 这通常意味着它是一个 sim 选择的运营商,一个插入以太网,一个配对的 BT 设备或一个 wifi 用户要求连接到。 不受信任的网络可能仅限于未知 wifi AP。 默认设置。

Java文档android.net.NetworkCapabilities.NET_CAPABILITY_TRUSTED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于