Table of Contents

Class TrafficStats

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

Constructors

TrafficStats()

public TrafficStats()

TrafficStats(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 TrafficStats(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

UNSUPPORTED

public static int UNSUPPORTED { get; set; }

Property Value

int

Methods

ClearThreadStatsTag()

public static void ClearThreadStatsTag()

ClearThreadStatsUid()

public static void ClearThreadStatsUid()

CreatePoolableInstance()

HPA initializer for TrafficStats()

public static TrafficStats CreatePoolableInstance()

Returns

TrafficStats

GetAndSetThreadStatsTag(int)

public static int GetAndSetThreadStatsTag(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetMobileRxBytes()

public static long GetMobileRxBytes()

Returns

long

long

GetMobileRxPackets()

public static long GetMobileRxPackets()

Returns

long

long

GetMobileTxBytes()

public static long GetMobileTxBytes()

Returns

long

long

GetMobileTxPackets()

public static long GetMobileTxPackets()

Returns

long

long

GetRxBytes(String)

public static long GetRxBytes(String arg0)

Parameters

arg0 String

String

Returns

long

long

GetRxPackets(String)

public static long GetRxPackets(String arg0)

Parameters

arg0 String

String

Returns

long

long

GetThreadStatsTag()

public static int GetThreadStatsTag()

Returns

int

int

GetThreadStatsUid()

public static int GetThreadStatsUid()

Returns

int

int

GetTotalRxBytes()

public static long GetTotalRxBytes()

Returns

long

long

GetTotalRxPackets()

public static long GetTotalRxPackets()

Returns

long

long

GetTotalTxBytes()

public static long GetTotalTxBytes()

Returns

long

long

GetTotalTxPackets()

public static long GetTotalTxPackets()

Returns

long

long

GetTxBytes(String)

public static long GetTxBytes(String arg0)

Parameters

arg0 String

String

Returns

long

long

GetTxPackets(String)

public static long GetTxPackets(String arg0)

Parameters

arg0 String

String

Returns

long

long

GetUidRxBytes(int)

public static long GetUidRxBytes(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidRxPackets(int)

public static long GetUidRxPackets(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidTcpRxBytes(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidTcpRxBytes(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidTcpRxSegments(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidTcpRxSegments(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidTcpTxBytes(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidTcpTxBytes(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidTcpTxSegments(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidTcpTxSegments(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidTxBytes(int)

public static long GetUidTxBytes(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidTxPackets(int)

public static long GetUidTxPackets(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidUdpRxBytes(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidUdpRxBytes(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidUdpRxPackets(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidUdpRxPackets(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidUdpTxBytes(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidUdpTxBytes(int arg0)

Parameters

arg0 int

int

Returns

long

long

GetUidUdpTxPackets(int)

[Obsolete("Deprecated in JVM")]
public static long GetUidUdpTxPackets(int arg0)

Parameters

arg0 int

int

Returns

long

long

IncrementOperationCount(int)

public static void IncrementOperationCount(int arg0)

Parameters

arg0 int

int

IncrementOperationCount(int, int)

public static void IncrementOperationCount(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetThreadStatsTag(int)

public static void SetThreadStatsTag(int arg0)

Parameters

arg0 int

int

SetThreadStatsUid(int)

public static void SetThreadStatsUid(int arg0)

Parameters

arg0 int

int

TagDatagramSocket(DatagramSocket)

public static void TagDatagramSocket(DatagramSocket arg0)

Parameters

arg0 DatagramSocket

DatagramSocket

Exceptions

SocketException

TagFileDescriptor(FileDescriptor)

public static void TagFileDescriptor(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

IOException

TagSocket(Socket)

public static void TagSocket(Socket arg0)

Parameters

arg0 Socket

Socket

Exceptions

SocketException

UntagDatagramSocket(DatagramSocket)

public static void UntagDatagramSocket(DatagramSocket arg0)

Parameters

arg0 DatagramSocket

DatagramSocket

Exceptions

SocketException

UntagFileDescriptor(FileDescriptor)

public static void UntagFileDescriptor(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

IOException

UntagSocket(Socket)

public static void UntagSocket(Socket arg0)

Parameters

arg0 Socket

Socket

Exceptions

SocketException