- Enclosing class:
- TdApi
Returns network data usage statistics.
Can be called before authorization.
Returns NetworkStatistics
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
If true, returns only data for the current library launch. -
Constructor Summary
ConstructorDescriptionReturns network data usage statistics.GetNetworkStatistics
(boolean onlyCurrent) Returns network data usage statistics.GetNetworkStatistics
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
onlyCurrent
public boolean onlyCurrentIf true, returns only data for the current library launch. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetNetworkStatistics
public GetNetworkStatistics()Returns network data usage statistics. Can be called before authorization.Returns
NetworkStatistics
-
GetNetworkStatistics
public GetNetworkStatistics(boolean onlyCurrent) Returns network data usage statistics. Can be called before authorization.Returns
NetworkStatistics
- Parameters:
onlyCurrent
- boolean If true, returns only data for the current library launch.
-
GetNetworkStatistics
- 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()
-