public static class TdApi.NetworkStatisticsEntryFile extends TdApi.NetworkStatisticsEntry
TdApi.NetworkStatisticsEntry.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.FileType |
fileType
Type of the file the data is part of; pass null if the data isn't related to files.
|
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 |
---|
NetworkStatisticsEntryFile()
Contains information about the total amount of data that was used to send and receive files.
|
NetworkStatisticsEntryFile(TdApi.FileType fileType,
TdApi.NetworkType networkType,
long sentBytes,
long receivedBytes)
Contains information about the total amount of data that was used to send and receive files.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.FileType fileType
public TdApi.NetworkType networkType
public long sentBytes
public long receivedBytes
public static final int CONSTRUCTOR
public NetworkStatisticsEntryFile()
public NetworkStatisticsEntryFile(TdApi.FileType fileType, TdApi.NetworkType networkType, long sentBytes, long receivedBytes)
fileType
- Type of the file the data is part of; pass null if the data isn't related to files.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.public int getConstructor()
getConstructor
in class TdApi.NetworkStatisticsEntry