java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateFileDownload
- Enclosing class:
- TdApi
A file download was changed. This update is sent only after file
download list is loaded for the first time.
-
Field Summary
Modifier and TypeFieldDescriptionint
Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.static final int
Identifier uniquely determining type of the object.New number of being downloaded and recently downloaded files found.int
File identifier.boolean
True, if downloading of the file is paused. -
Constructor Summary
ConstructorDescriptionA file download was changed.UpdateFileDownload
(int fileId, int completeDate, boolean isPaused, TdApi.DownloadedFileCounts counts) A file download was changed.UpdateFileDownload
(DataInput input) A file download was 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
-
fileId
public int fileIdFile identifier. -
completeDate
public int completeDatePoint in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed. -
isPaused
public boolean isPausedTrue, if downloading of the file is paused. -
counts
New number of being downloaded and recently downloaded files found. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateFileDownload
public UpdateFileDownload()A file download was changed. This update is sent only after file download list is loaded for the first time. -
UpdateFileDownload
public UpdateFileDownload(int fileId, int completeDate, boolean isPaused, TdApi.DownloadedFileCounts counts) A file download was changed. This update is sent only after file download list is loaded for the first time.- Parameters:
fileId
- File identifier.completeDate
- Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn't completed.isPaused
- True, if downloading of the file is paused.counts
- New number of being downloaded and recently downloaded files found.
-
UpdateFileDownload
A file download was changed. This update is sent only after file download list is loaded for the first time.- 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()
-