- Enclosing class:
- TdApi
Removes all files from the file download list.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbooleanPass true to delete the file from the TDLib file cache.booleanPass true to remove only active downloads, including paused.booleanPass true to remove only completed downloads. -
Constructor Summary
ConstructorsConstructorDescriptionRemoves 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-