Udostępnij za pośrednictwem


NetworkStatsManager.QueryDetailsForUid Method

Definition

Query network usage statistics details for a given uid.

[Android.Runtime.Register("queryDetailsForUid", "(ILjava/lang/String;JJI)Landroid/app/usage/NetworkStats;", "GetQueryDetailsForUid_ILjava_lang_String_JJIHandler", ApiSince=23)]
public virtual Android.App.Usage.NetworkStats QueryDetailsForUid (Android.Net.ConnectivityType networkType, string? subscriberId, long startTime, long endTime, int uid);
[<Android.Runtime.Register("queryDetailsForUid", "(ILjava/lang/String;JJI)Landroid/app/usage/NetworkStats;", "GetQueryDetailsForUid_ILjava_lang_String_JJIHandler", ApiSince=23)>]
abstract member QueryDetailsForUid : Android.Net.ConnectivityType * string * int64 * int64 * int -> Android.App.Usage.NetworkStats
override this.QueryDetailsForUid : Android.Net.ConnectivityType * string * int64 * int64 * int -> Android.App.Usage.NetworkStats

Parameters

networkType
ConnectivityType
subscriberId
String
startTime
Int64
endTime
Int64
uid
Int32

Returns

Attributes

Remarks

Java documentation for android.app.usage.NetworkStatsManager.queryDetailsForUid(int, java.lang.String, long, long, int).

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