Package it.ernytech.tdlib
Class TdApi.NetworkStatisticsEntryCall
- java.lang.Object
-
- it.ernytech.tdlib.TdApi.Object
-
- it.ernytech.tdlib.TdApi.NetworkStatisticsEntry
-
- it.ernytech.tdlib.TdApi.NetworkStatisticsEntryCall
-
- Enclosing class:
- TdApi
public static class TdApi.NetworkStatisticsEntryCall extends TdApi.NetworkStatisticsEntry
Contains information about the total amount of data that was used for calls.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
Identifier uniquely determining type of the object.double
duration
Total call duration, in seconds.TdApi.NetworkType
networkType
Type of the network the data was sent through.long
receivedBytes
Total number of bytes received.long
sentBytes
Total number of bytes sent.
-
Constructor Summary
Constructors Constructor Description NetworkStatisticsEntryCall()
Default constructor.NetworkStatisticsEntryCall(TdApi.NetworkType networkType, long sentBytes, long receivedBytes, double duration)
Constructor for initialization of all fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConstructor()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class it.ernytech.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
networkType
public TdApi.NetworkType networkType
Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.
-
sentBytes
public long sentBytes
Total number of bytes sent.
-
receivedBytes
public long receivedBytes
Total number of bytes received.
-
duration
public double duration
Total call duration, in seconds.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NetworkStatisticsEntryCall
public NetworkStatisticsEntryCall()
Default constructor.
-
NetworkStatisticsEntryCall
public NetworkStatisticsEntryCall(TdApi.NetworkType networkType, long sentBytes, long receivedBytes, double duration)
Constructor for initialization of all fields.- Parameters:
networkType
- Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.sentBytes
- Total number of bytes sent.receivedBytes
- Total number of bytes received.duration
- Total call duration, in seconds.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
-