NetworkCapabilities.NetCapabilityNotVpn 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.
指示此网络不是 VPN。
[Android.Runtime.Register("NET_CAPABILITY_NOT_VPN")]
[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 NetCapabilityNotVpn = 15;
[<Android.Runtime.Register("NET_CAPABILITY_NOT_VPN")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)>]
val mutable NetCapabilityNotVpn : Android.Net.NetCapability
字段值
Value = 15实现
- 特性
注解
指示此网络不是 VPN。 此功能默认设置,应为 VPN 网络显式清除。
Java文档android.net.NetworkCapabilities.NET_CAPABILITY_NOT_VPN。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。