FileDocCategorySizeDatePackage
INetworkStatsSession.javaAPI DocAndroid 5.1 API9769Sat Mar 14 05:48:02 GMT 2015android.net

INetworkStatsSession

public interface INetworkStatsSession implements android.os.IInterface
{@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidclose()

public android.net.NetworkStatsHistorygetHistoryForNetwork(android.net.NetworkTemplate template, int fields)
Return historical network layer stats for traffic that matches template.

public android.net.NetworkStatsHistorygetHistoryForUid(android.net.NetworkTemplate template, int uid, int set, int tag, int fields)
Return historical network layer stats for specific UID traffic that matches template.

public android.net.NetworkStatsgetSummaryForAllUid(android.net.NetworkTemplate template, long start, long end, boolean includeTags)
Return network layer usage summary per UID for traffic that matches template.

public android.net.NetworkStatsgetSummaryForNetwork(android.net.NetworkTemplate template, long start, long end)
Return network layer usage summary for traffic that matches template.