java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateFileDownloads
- Enclosing class:
- TdApi
The state of the file download list has changed.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Total downloaded size of files in the file download list, in bytes.int
Total number of files in the file download list.long
Total size of files in the file download list, in bytes. -
Constructor Summary
ConstructorDescriptionThe state of the file download list has changed.UpdateFileDownloads
(long totalSize, int totalCount, long downloadedSize) The state of the file download list has changed.UpdateFileDownloads
(DataInput input) The state of the file download list has changed. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
totalSize
public long totalSizeTotal size of files in the file download list, in bytes. -
totalCount
public int totalCountTotal number of files in the file download list. -
downloadedSize
public long downloadedSizeTotal downloaded size of files in the file download list, in bytes. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateFileDownloads
public UpdateFileDownloads()The state of the file download list has changed. -
UpdateFileDownloads
public UpdateFileDownloads(long totalSize, int totalCount, long downloadedSize) The state of the file download list has changed.- Parameters:
totalSize
- Total size of files in the file download list, in bytes.totalCount
- Total number of files in the file download list.downloadedSize
- Total downloaded size of files in the file download list, in bytes.
-
UpdateFileDownloads
The state of the file download list has changed.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-