ConnectivityManager.RestrictBackgroundStatus 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定调用应用程序在后台运行时是否受到按流量计费的网络限制。
public virtual Android.Net.RestrictBackgroundStatus RestrictBackgroundStatus { [Android.Runtime.Register("getRestrictBackgroundStatus", "()I", "GetGetRestrictBackgroundStatusHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRestrictBackgroundStatus", "()I", "GetGetRestrictBackgroundStatusHandler", ApiSince=24)>]
member this.RestrictBackgroundStatus : Android.Net.RestrictBackgroundStatus
属性值
#RESTRICT_BACKGROUND_STATUS_DISABLED、#RESTRICT_BACKGROUND_STATUS_ENABLED 或 #RESTRICT_BACKGROUND_STATUS_WHITELISTED
- 特性
注解
确定调用应用程序在后台运行时是否受到按流量计费的网络限制。
Java文档android.net.ConnectivityManager.getRestrictBackgroundStatus()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。