try-again.md 772 Bytes
Newer Older
MickeyMoz's avatar
MickeyMoz committed
1
2
3
4
[android-components](../../index.md) / [mozilla.components.feature.downloads.manager](../index.md) / [FetchDownloadManager](index.md) / [tryAgain](./try-again.md)

# tryAgain

MickeyMoz's avatar
MickeyMoz committed
5
`fun tryAgain(downloadId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/manager/FetchDownloadManager.kt#L70)
MickeyMoz's avatar
MickeyMoz committed
6
7
8
9
10
11
12
13

Overrides [DownloadManager.tryAgain](../-download-manager/try-again.md)

Schedules another attempt at downloading the given download.

### Parameters

`downloadId` - the id of the previously attempted download