Partager via


Context.NetworkStatsService Field

Definition

Use with #getSystemService(String) to retrieve a android.app.usage.NetworkStatsManager for querying network usage stats.

[Android.Runtime.Register("NETWORK_STATS_SERVICE", ApiSince=23)]
public const string NetworkStatsService;
[<Android.Runtime.Register("NETWORK_STATS_SERVICE", ApiSince=23)>]
val mutable NetworkStatsService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.app.usage.NetworkStatsManager for querying network usage stats.

Java documentation for android.content.Context.NETWORK_STATS_SERVICE.

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