语言

NetworkCapabilities.NetCapabilityNotRestricted 字段

定义

注意

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

指示此网络可用于常规使用。

[Android.Runtime.Register("NET_CAPABILITY_NOT_RESTRICTED")]
[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 NetCapabilityNotRestricted = 13;
[<Android.Runtime.Register("NET_CAPABILITY_NOT_RESTRICTED")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)>]
val mutable NetCapabilityNotRestricted : Android.Net.NetCapability

字段值

Value = 13

实现

特性

注解

指示此网络可用于常规使用。 如果未设置应用程序,则不应尝试在此网络上通信。 请注意,这只是信息性的,而不是强制执行 - 强制是通过其他方式处理的。 默认设置。

Java文档android.net.NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED。

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

适用于