- Enclosing class:
- TdApi
Removes all files from the file download list.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
Pass true to delete the file from the TDLib file cache.boolean
Pass true to remove only active downloads, including paused.boolean
Pass true to remove only completed downloads. -
Constructor Summary
ConstructorDescriptionRemoves all files from the file download list.RemoveAllFilesFromDownloads
(boolean onlyActive, boolean onlyCompleted, boolean deleteFromCache) Removes all files from the file download list.Removes all files from the file download list. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
onlyActive
public boolean onlyActivePass true to remove only active downloads, including paused. -
onlyCompleted
public boolean onlyCompletedPass true to remove only completed downloads. -
deleteFromCache
public boolean deleteFromCachePass true to delete the file from the TDLib file cache. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RemoveAllFilesFromDownloads
public RemoveAllFilesFromDownloads()Removes all files from the file download list. ReturnsOk
-
RemoveAllFilesFromDownloads
public RemoveAllFilesFromDownloads(boolean onlyActive, boolean onlyCompleted, boolean deleteFromCache) Removes all files from the file download list. ReturnsOk
- Parameters:
onlyActive
- boolean Pass true to remove only active downloads, including paused.onlyCompleted
- boolean Pass true to remove only completed downloads.deleteFromCache
- boolean Pass true to delete the file from the TDLib file cache.
-
RemoveAllFilesFromDownloads
Removes all files from the file download list. ReturnsOk
- 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()
-