- Enclosing class:
- TdApi
public static final class TdApi.GetNetworkStatistics
extends TdApi.Function<TdApi.NetworkStatistics>
Returns network data usage statistics.
Can be called before authorization.
Returns
NetworkStatistics-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbooleanPass true to get statistics only for the current library launch. -
Constructor Summary
ConstructorsConstructorDescriptionReturns network data usage statistics.GetNetworkStatistics(boolean onlyCurrent) Returns network data usage statistics.GetNetworkStatistics(DataInput input) Returns network data usage statistics. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
onlyCurrent
public boolean onlyCurrentPass true to get statistics only 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. ReturnsNetworkStatistics -
GetNetworkStatistics
public GetNetworkStatistics(boolean onlyCurrent) Returns network data usage statistics. Can be called before authorization. ReturnsNetworkStatistics- Parameters:
onlyCurrent- boolean Pass true to get statistics only for the current library launch.
-
GetNetworkStatistics
Returns network data usage statistics. Can be called before authorization. ReturnsNetworkStatistics- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-