Partager via


NetworkStats.Bucket.RoamingNo Field

Definition

Caution

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

Usage that occurs on a home, non-roaming network.

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

Field Value

Value = 1
Attributes

Remarks

Usage that occurs on a home, non-roaming network.

Any cellular usage in this bucket was incurred while the device was connected to a tower owned or operated by the user's wireless carrier, or a tower that the user's wireless carrier has indicated should be treated as a home network regardless.

This is also the default value for network types that do not support roaming.

Java documentation for android.app.usage.NetworkStats.Bucket.ROAMING_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