Builder

open class Builder

A builder for configuring and creating new DownloadOptions instances.

For more details see here

See also

Functions

build
Link copied to clipboard
open fun build(): DownloadOptions
Creates new DownloadOptions with the set skipFilename, forceDownload and contentType options.
contentType
Link copied to clipboard
open fun contentType(contentType: String): DownloadOptions.Builder
Sets contentType option.
forceDownload
Link copied to clipboard
open fun forceDownload(forceDownload: Boolean): DownloadOptions.Builder
Sets forceDownload option.
skipFilename
Link copied to clipboard
open fun skipFilename(skipFilename: Boolean): DownloadOptions.Builder