Class TrafficStats
public class TrafficStats : JVMBridgeBase<TrafficStats>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<TrafficStats>TrafficStats
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<TrafficStats>.IsAssignableFrom(IJavaType)JVMBridgeBase<TrafficStats>.IsAssignableFrom<T>()JVMBridgeBase<TrafficStats>.Execute<T>(params T[])JVMBridgeBase<TrafficStats>.DynBridgeClazzJVMBridgeBase<TrafficStats>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
TrafficStats()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public TrafficStats()
TrafficStats(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public TrafficStats(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
UNSUPPORTED
public static int UNSUPPORTED { get; }
Property Value
Methods
ClearThreadStatsTag()
public static void ClearThreadStatsTag()
ClearThreadStatsUid()
public static void ClearThreadStatsUid()
GetAndSetThreadStatsTag(int)
public static int GetAndSetThreadStatsTag(int arg0)
Parameters
Returns
GetMobileRxBytes()
public static long GetMobileRxBytes()
Returns
GetMobileRxPackets()
public static long GetMobileRxPackets()
Returns
GetMobileTxBytes()
public static long GetMobileTxBytes()
Returns
GetMobileTxPackets()
public static long GetMobileTxPackets()
Returns
GetRxBytes(String)
public static long GetRxBytes(String arg0)
Parameters
Returns
GetRxPackets(String)
https://developer.android.com/reference/android/net/TrafficStats.html#getRxPackets(java.lang.String)
public static long GetRxPackets(String arg0)
Parameters
Returns
GetThreadStatsTag()
public static int GetThreadStatsTag()
Returns
GetThreadStatsUid()
public static int GetThreadStatsUid()
Returns
GetTotalRxBytes()
public static long GetTotalRxBytes()
Returns
GetTotalRxPackets()
public static long GetTotalRxPackets()
Returns
GetTotalTxBytes()
public static long GetTotalTxBytes()
Returns
GetTotalTxPackets()
public static long GetTotalTxPackets()
Returns
GetTxBytes(String)
public static long GetTxBytes(String arg0)
Parameters
Returns
GetTxPackets(String)
https://developer.android.com/reference/android/net/TrafficStats.html#getTxPackets(java.lang.String)
public static long GetTxPackets(String arg0)
Parameters
Returns
GetUidRxBytes(int)
public static long GetUidRxBytes(int arg0)
Parameters
Returns
GetUidRxPackets(int)
public static long GetUidRxPackets(int arg0)
Parameters
Returns
GetUidTcpRxBytes(int)
[Obsolete]
public static long GetUidTcpRxBytes(int arg0)
Parameters
Returns
GetUidTcpRxSegments(int)
[Obsolete]
public static long GetUidTcpRxSegments(int arg0)
Parameters
Returns
GetUidTcpTxBytes(int)
[Obsolete]
public static long GetUidTcpTxBytes(int arg0)
Parameters
Returns
GetUidTcpTxSegments(int)
[Obsolete]
public static long GetUidTcpTxSegments(int arg0)
Parameters
Returns
GetUidTxBytes(int)
public static long GetUidTxBytes(int arg0)
Parameters
Returns
GetUidTxPackets(int)
public static long GetUidTxPackets(int arg0)
Parameters
Returns
GetUidUdpRxBytes(int)
[Obsolete]
public static long GetUidUdpRxBytes(int arg0)
Parameters
Returns
GetUidUdpRxPackets(int)
[Obsolete]
public static long GetUidUdpRxPackets(int arg0)
Parameters
Returns
GetUidUdpTxBytes(int)
[Obsolete]
public static long GetUidUdpTxBytes(int arg0)
Parameters
Returns
GetUidUdpTxPackets(int)
[Obsolete]
public static long GetUidUdpTxPackets(int arg0)
Parameters
Returns
IncrementOperationCount(int)
public static void IncrementOperationCount(int arg0)
Parameters
IncrementOperationCount(int, int)
public static void IncrementOperationCount(int arg0, int arg1)
Parameters
SetThreadStatsTag(int)
public static void SetThreadStatsTag(int arg0)
Parameters
SetThreadStatsUid(int)
public static void SetThreadStatsUid(int arg0)
Parameters
TagDatagramSocket(DatagramSocket)
public static void TagDatagramSocket(DatagramSocket arg0)
Parameters
Exceptions
TagFileDescriptor(FileDescriptor)
public static void TagFileDescriptor(FileDescriptor arg0)
Parameters
Exceptions
TagSocket(Socket)
public static void TagSocket(Socket arg0)
Parameters
Exceptions
UntagDatagramSocket(DatagramSocket)
public static void UntagDatagramSocket(DatagramSocket arg0)
Parameters
Exceptions
UntagFileDescriptor(FileDescriptor)
public static void UntagFileDescriptor(FileDescriptor arg0)
Parameters
Exceptions
UntagSocket(Socket)
public static void UntagSocket(Socket arg0)