Package it.tdlight.jni
Class TdApi.NetworkStatisticsEntryCall
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.NetworkStatisticsEntry
it.tdlight.jni.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
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()
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.NetworkStatisticsEntryCall(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
networkType
Type of the network the data was sent through. Call setNetworkType to maintain the actual network type. -
sentBytes
public long sentBytesTotal number of bytes sent. -
receivedBytes
public long receivedBytesTotal number of bytes received. -
duration
public double durationTotal call duration, in seconds. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
NetworkStatisticsEntryCall
public NetworkStatisticsEntryCall()Contains information about the total amount of data that was used for calls. -
NetworkStatisticsEntryCall
public NetworkStatisticsEntryCall(TdApi.NetworkType networkType, long sentBytes, long receivedBytes, double duration)Contains information about the total amount of data that was used for calls.- Parameters:
networkType
- NetworkType Type of the network the data was sent through. Call setNetworkType to maintain the actual network type.sentBytes
- long Total number of bytes sent.receivedBytes
- long Total number of bytes received.duration
- double Total call duration, in seconds.
-
NetworkStatisticsEntryCall
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-