diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/index.md b/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/index.md index 190680f26e2e..6f2d5a7c237a 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/index.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/index.md @@ -2,7 +2,7 @@ # DynamicWidthRecyclerView -`class DynamicWidthRecyclerView : RecyclerView` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/view/DynamicWidthRecyclerView.kt#L17) +`class DynamicWidthRecyclerView : RecyclerView` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/view/DynamicWidthRecyclerView.kt#L18) [RecylerView](#) with automatically set width between widthMin / widthMax xml attributes. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/on-measure.md b/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/on-measure.md index f29a61e3371b..00f01e4e6879 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/on-measure.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.menu.view/-dynamic-width-recycler-view/on-measure.md @@ -2,4 +2,4 @@ # onMeasure -`protected fun onMeasure(widthSpec: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, heightSpec: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/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/browser/menu/src/main/java/mozilla/components/browser/menu/view/DynamicWidthRecyclerView.kt#L33) \ No newline at end of file +`protected fun onMeasure(widthSpec: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, heightSpec: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/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/browser/menu/src/main/java/mozilla/components/browser/menu/view/DynamicWidthRecyclerView.kt#L34) \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/-init-.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/-init-.md index f91892a1af71..d07b1a1e9935 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/-init-.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/-init-.md @@ -2,7 +2,7 @@ # <init> -`DownloadState(url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentType: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentLength: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`? = null, userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, destinationDirectory: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = Environment.DIRECTORY_DOWNLOADS, referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = Random.nextLong())` +`DownloadState(url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentType: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentLength: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`? = null, userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, destinationDirectory: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = Environment.DIRECTORY_DOWNLOADS, referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = Random.nextLong(), sessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null)` Value type that represents a download request. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-length.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-length.md index a7e29bfef87d..b7091150dc91 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-length.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-length.md @@ -2,7 +2,7 @@ # contentLength -`val contentLength: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L32) +`val contentLength: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L34) The file size reported by the server. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-type.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-type.md index 4e122aeeb155..0c9e4d2d9cf3 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-type.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/content-type.md @@ -2,7 +2,7 @@ # contentType -`val contentType: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L31) +`val contentType: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L33) Content type (MIME type) to indicate the media type of the download. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/destination-directory.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/destination-directory.md index 0f07cd476e21..2a0fb644f660 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/destination-directory.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/destination-directory.md @@ -2,7 +2,7 @@ # destinationDirectory -`val destinationDirectory: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L34) +`val destinationDirectory: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L36) The matching destination directory for this type of download. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-name.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-name.md index 69be3601c5c7..a07fa6855f41 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-name.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-name.md @@ -2,7 +2,7 @@ # fileName -`val fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L30) +`val fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L32) A canonical filename for this download. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-path.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-path.md index 6df477d47c08..d0d42e73a6cf 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-path.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/file-path.md @@ -2,7 +2,7 @@ # filePath -`val filePath: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L39) +`val filePath: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L42) The file path the file was saved at. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/id.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/id.md index 2c9524c717a3..29005e1fa63a 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/id.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/id.md @@ -2,7 +2,7 @@ # id -`val id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L37) +`val id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L39) The unique identifier of this download. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/index.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/index.md index 6e1ea96136d0..5ca7586ff716 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/index.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/index.md @@ -2,7 +2,7 @@ # DownloadState -`data class DownloadState` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L28) +`data class DownloadState` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L30) Value type that represents a download request. @@ -10,7 +10,7 @@ Value type that represents a download request. | Name | Summary | |---|---| -| [<init>](-init-.md) | `DownloadState(url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentType: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentLength: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`? = null, userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, destinationDirectory: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = Environment.DIRECTORY_DOWNLOADS, referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = Random.nextLong())`
Value type that represents a download request. | +| [<init>](-init-.md) | `DownloadState(url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, fileName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentType: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, contentLength: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`? = null, userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, destinationDirectory: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = Environment.DIRECTORY_DOWNLOADS, referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = Random.nextLong(), sessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null)`
Value type that represents a download request. | ### Properties @@ -23,6 +23,7 @@ Value type that represents a download request. | [filePath](file-path.md) | `val filePath: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
The file path the file was saved at. | | [id](id.md) | `val id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)
The unique identifier of this download. | | [referrerUrl](referrer-url.md) | `val referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`
The site that linked to this download. | +| [sessionId](session-id.md) | `val sessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`
Identifier of the session that spawned the download. @ | | [skipConfirmation](skip-confirmation.md) | `val skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Whether or not the confirmation dialog should be shown before the download begins. | | [url](url.md) | `val url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
The full url to the content that should be downloaded. | | [userAgent](user-agent.md) | `val userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?`
The user agent to be used for the download. | diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/referrer-url.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/referrer-url.md index 18cfb904c847..021d908ca99b 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/referrer-url.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/referrer-url.md @@ -2,7 +2,7 @@ # referrerUrl -`val referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L35) +`val referrerUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L37) The site that linked to this download. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/session-id.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/session-id.md new file mode 100644 index 000000000000..71f862c8cb8c --- /dev/null +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/session-id.md @@ -0,0 +1,13 @@ +[android-components](../../index.md) / [mozilla.components.browser.state.state.content](../index.md) / [DownloadState](index.md) / [sessionId](./session-id.md) + +# sessionId + +`val sessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L40) + +Identifier of the session that spawned the download. +@ + +### Property + +`sessionId` - Identifier of the session that spawned the download. +@ \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/skip-confirmation.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/skip-confirmation.md index c6824a6832d6..aa477b59691e 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/skip-confirmation.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/skip-confirmation.md @@ -2,7 +2,7 @@ # skipConfirmation -`val skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L36) +`val skipConfirmation: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L38) Whether or not the confirmation dialog should be shown before the download begins. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/url.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/url.md index a50c9e3f0b71..3b4672d9895a 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/url.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/url.md @@ -2,7 +2,7 @@ # url -`val url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L29) +`val url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L31) The full url to the content that should be downloaded. diff --git a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/user-agent.md b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/user-agent.md index 3c03ad291213..226c30d0de06 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/user-agent.md +++ b/mobile/android/android-components/docs/api/mozilla.components.browser.state.state.content/-download-state/user-agent.md @@ -2,7 +2,7 @@ # userAgent -`val userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L33) +`val userAgent: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/state/content/DownloadState.kt#L35) The user agent to be used for the download. diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/gravity.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/gravity.md index e4a02ab47aa1..eeb4b1fdd102 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/gravity.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/gravity.md @@ -2,4 +2,4 @@ # gravity -`val gravity: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L218) \ No newline at end of file +`val gravity: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L217) \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/index.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/index.md index 46cbdd8296ce..08c08c975524 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/index.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/index.md @@ -2,7 +2,7 @@ # PromptsStyling -`data class PromptsStyling` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L217) +`data class PromptsStyling` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L216) Styling for the download dialog prompt diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-background-color.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-background-color.md index 768cddf65e0c..b4e6ecca91f6 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-background-color.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-background-color.md @@ -2,4 +2,4 @@ # positiveButtonBackgroundColor -`val positiveButtonBackgroundColor: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L221) \ No newline at end of file +`val positiveButtonBackgroundColor: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L220) \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-radius.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-radius.md index b1ab284ea84e..c4595fa9da29 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-radius.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-radius.md @@ -2,4 +2,4 @@ # positiveButtonRadius -`val positiveButtonRadius: `[`Float`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L224) \ No newline at end of file +`val positiveButtonRadius: `[`Float`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L223) \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-text-color.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-text-color.md index 2e4594f5afd6..74b5f2fd9552 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-text-color.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/positive-button-text-color.md @@ -2,4 +2,4 @@ # positiveButtonTextColor -`val positiveButtonTextColor: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L223) \ No newline at end of file +`val positiveButtonTextColor: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L222) \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/should-width-match-parent.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/should-width-match-parent.md index ba9a7418f5b0..01e2ba39978c 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/should-width-match-parent.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/-prompts-styling/should-width-match-parent.md @@ -2,4 +2,4 @@ # shouldWidthMatchParent -`val shouldWidthMatchParent: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L219) \ No newline at end of file +`val shouldWidthMatchParent: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt#L218) \ No newline at end of file diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/on-permissions-result.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/on-permissions-result.md index d60fdae46fec..a960ca5361db 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/on-permissions-result.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/on-permissions-result.md @@ -2,7 +2,7 @@ # onPermissionsResult -`fun onPermissionsResult(permissions: `[`Array`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>, grantResults: `[`IntArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/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/DownloadsFeature.kt#L154) +`fun onPermissionsResult(permissions: `[`Array`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>, grantResults: `[`IntArray`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/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/DownloadsFeature.kt#L153) Overrides [PermissionsFeature.onPermissionsResult](../../mozilla.components.support.base.feature/-permissions-feature/on-permissions-result.md) diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/stop.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/stop.md index 30aa68beb340..d47e2677eddb 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/stop.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/stop.md @@ -2,7 +2,7 @@ # stop -`fun stop(): `[`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/DownloadsFeature.kt#L115) +`fun stop(): `[`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/DownloadsFeature.kt#L114) Overrides [LifecycleAwareFeature.stop](../../mozilla.components.support.base.feature/-lifecycle-aware-feature/stop.md) diff --git a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/try-again.md b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/try-again.md index 09954f120f5b..ac90672a94be 100644 --- a/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/try-again.md +++ b/mobile/android/android-components/docs/api/mozilla.components.feature.downloads/-downloads-feature/try-again.md @@ -2,7 +2,7 @@ # tryAgain -`fun tryAgain(id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/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/DownloadsFeature.kt#L108) +`fun tryAgain(id: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/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/DownloadsFeature.kt#L107) Calls the tryAgain function of the corresponding [DownloadManager](../../mozilla.components.feature.downloads.manager/-download-manager/index.md)