Package it.tdlight.jni
Class TdApi.StorageStatistics
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StorageStatistics
- Enclosing class:
- TdApi
public static class TdApi.StorageStatistics extends TdApi.Object
Contains the exact storage usage
statistics split by chats and file type.
-
Field Summary
Fields Modifier and Type Field Description TdApi.StorageStatisticsByChat[]
byChat
Statistics split by chats.static int
CONSTRUCTOR
int
count
Total number of files.long
size
Total size of files. -
Constructor Summary
Constructors Constructor Description StorageStatistics()
Contains the exact storage usage statistics split by chats and file type.StorageStatistics(long size, int count, TdApi.StorageStatisticsByChat[] byChat)
Contains the exact storage usage statistics split by chats and file type.StorageStatistics(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
-
size
public long sizeTotal size of files. -
count
public int countTotal number of files. -
byChat
Statistics split by chats. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
StorageStatistics
public StorageStatistics()Contains the exact storage usage statistics split by chats and file type. -
StorageStatistics
Contains the exact storage usage statistics split by chats and file type.- Parameters:
size
- long Total size of files.count
- int Total number of files.byChat
- StorageStatisticsByChat[] Statistics split by chats.
-
StorageStatistics
- 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()
-