useTemporaryOutputFile

open fun useTemporaryOutputFile(useTemporaryOutputFile: Boolean): DownloadRequest.Builder

If set to true, the download will write to a temporary file with the same path and filename as the output file but append .tmp to it. If false the download will be written directly into the output file. Defaults to true.

Parameters

useTemporaryOutputFile

true to use a temporary output file while downloading, or false to directly write into the ultimate output file.