Table of Contents

Class NetworkStatsManager

Namespace
Android.App.Usage
Assembly
MASES.Netdroid.dll
public class NetworkStatsManager : JVMBridgeBase<NetworkStatsManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
NetworkStatsManager
Implements
Extension Methods

Constructors

NetworkStatsManager(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NetworkStatsManager(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

QueryDetails(int, String, long, long)

public NetworkStats QueryDetails(int arg0, String arg1, long arg2, long arg3)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

Returns

NetworkStats

NetworkStats

Exceptions

RemoteException
SecurityException

QueryDetailsForUid(int, String, long, long, int)

public NetworkStats QueryDetailsForUid(int arg0, String arg1, long arg2, long arg3, int arg4)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

arg4 int

int

Returns

NetworkStats

NetworkStats

Exceptions

SecurityException

QueryDetailsForUidTag(int, String, long, long, int, int)

public NetworkStats QueryDetailsForUidTag(int arg0, String arg1, long arg2, long arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

arg4 int

int

arg5 int

int

Returns

NetworkStats

NetworkStats

Exceptions

SecurityException

QueryDetailsForUidTagState(int, String, long, long, int, int, int)

public NetworkStats QueryDetailsForUidTagState(int arg0, String arg1, long arg2, long arg3, int arg4, int arg5, int arg6)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

arg4 int

int

arg5 int

int

arg6 int

int

Returns

NetworkStats

NetworkStats

Exceptions

SecurityException

QuerySummary(int, String, long, long)

public NetworkStats QuerySummary(int arg0, String arg1, long arg2, long arg3)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

Returns

NetworkStats

NetworkStats

Exceptions

RemoteException
SecurityException

QuerySummaryForDevice(int, String, long, long)

public NetworkStats.Bucket QuerySummaryForDevice(int arg0, String arg1, long arg2, long arg3)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

Returns

NetworkStats.Bucket

NetworkStats.Bucket

Exceptions

RemoteException
SecurityException

QuerySummaryForUser(int, String, long, long)

public NetworkStats.Bucket QuerySummaryForUser(int arg0, String arg1, long arg2, long arg3)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 long

long

Returns

NetworkStats.Bucket

NetworkStats.Bucket

Exceptions

RemoteException
SecurityException

RegisterUsageCallback(int, String, long, UsageCallback)

public void RegisterUsageCallback(int arg0, String arg1, long arg2, NetworkStatsManager.UsageCallback arg3)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 NetworkStatsManager.UsageCallback

NetworkStatsManager.UsageCallback

RegisterUsageCallback(int, String, long, UsageCallback, Handler)

public void RegisterUsageCallback(int arg0, String arg1, long arg2, NetworkStatsManager.UsageCallback arg3, Handler arg4)

Parameters

arg0 int

int

arg1 String

String

arg2 long

long

arg3 NetworkStatsManager.UsageCallback

NetworkStatsManager.UsageCallback

arg4 Handler

Handler

UnregisterUsageCallback(UsageCallback)

public void UnregisterUsageCallback(NetworkStatsManager.UsageCallback arg0)

Parameters

arg0 NetworkStatsManager.UsageCallback

NetworkStatsManager.UsageCallback