forceDownload

open fun forceDownload(forceDownload: Boolean): DownloadOptions.Builder

Sets forceDownload option.

If forceDownload is TRUE content-type will be set to application/octet-stream. In this case content-type option should be set to null.

For more details see here

Return

the same Builder instance

Parameters

forceDownload

true to force a download, false otherwise