Share via


NetworkStats.Bucket.DefaultNetworkNo Field

Definition

Caution

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

Usage that occurs while this network is not a default network.

[Android.Runtime.Register("DEFAULT_NETWORK_NO", 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 DefaultNetworkNo = 1;
[<Android.Runtime.Register("DEFAULT_NETWORK_NO", 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 DefaultNetworkNo : Android.App.Usage.NetworkStatsDefault

Field Value

Value = 1
Attributes

Remarks

Usage that occurs while this network is not a default network.

This implies that the app responsible for this usage requested that it occur on a specific network different from the one(s) the system would have selected for it.

Java documentation for android.app.usage.NetworkStats.Bucket.DEFAULT_NETWORK_NO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to