public static class TdApi.NetworkStatisticsEntryCall extends TdApi.NetworkStatisticsEntry
TdApi.NetworkStatisticsEntry.Constructors
Modifier and Type | Field and 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 and Description |
---|
NetworkStatisticsEntryCall()
Contains information about the total amount of data that was used for calls.
|
NetworkStatisticsEntryCall(TdApi.NetworkType networkType,
long sentBytes,
long receivedBytes,
double duration)
Contains information about the total amount of data that was used for calls.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.NetworkType networkType
public long sentBytes
public long receivedBytes
public double duration
public static final int CONSTRUCTOR
public NetworkStatisticsEntryCall()
public NetworkStatisticsEntryCall(TdApi.NetworkType networkType, long sentBytes, long receivedBytes, double duration)
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.public int getConstructor()
getConstructor
in class TdApi.NetworkStatisticsEntry