startDownload

@NotNull
open fun startDownload(@NotNull download: @NotNull Download): @NotNull TransferController

Starts the download process.

If there is an active transfer being executed on this manager, the download will be queued.

Return

The controller used to pause, resume, or cancel the download.

Parameters

download

The download to start.


@NotNull
open fun startDownload(@NotNull download: @NotNull StreamDownload): @NotNull TransferController

Start a download.

If there is an active transfer being executed on this manager, the download will be queued.

Return

The controller used to pause, resume, or cancel the download.

Parameters

download

The download to start.