android-components / mozilla.components.feature.downloads / DownloadsUseCases

DownloadsUseCases

class DownloadsUseCases (source)

Contains use cases related to the downloads feature.

Parameters

store - the application’s BrowserStore.

Types

Name Summary
ConsumeDownloadUseCase class ConsumeDownloadUseCase

Constructors

Name Summary
<init> DownloadsUseCases(store: BrowserStore)
Contains use cases related to the downloads feature.

Properties

Name Summary
consumeDownload val consumeDownload: ConsumeDownloadUseCase

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.