Method RestartAsync
| Edit this page View SourceRestartAsync(CancellationToken)
Restarts the download from the beginning.
Declaration
public Task RestartAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | Cancellation token for resuming the download. Note that once download has started, use CancelAsync() to cancel an active download. |
Returns
Type | Description |
---|---|
Task |