语言

NetworkStats.Bucket.DefaultNetworkYes 字段

定义

注意

This constant will be removed in the future version. Use Android.App.Usage.NetworkStatsDefault enum directly instead of this field.

此网络是默认网络时发生的用法。

[Android.Runtime.Register("DEFAULT_NETWORK_YES", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Usage.NetworkStatsDefault enum directly instead of this field.", true)]
public const Android.App.Usage.NetworkStatsDefault DefaultNetworkYes = 2;
[<Android.Runtime.Register("DEFAULT_NETWORK_YES", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Usage.NetworkStatsDefault enum directly instead of this field.", true)>]
val mutable DefaultNetworkYes : Android.App.Usage.NetworkStatsDefault

字段值

Value = 2
特性

注解

此网络是默认网络时发生的用法。

这意味着应用要么没有为此使用情况选择特定网络,要么选择了系统可能为应用流量选择的网络。

Java文档android.app.usage.NetworkStats.Bucket.DEFAULT_NETWORK_YES。

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

适用于