android-components / mozilla.components.feature.session / SessionUseCases / LoadDataUseCase

# LoadDataUseCase

`class LoadDataUseCase` (source)

### Functions

invoke | `fun invoke(data: String, mimeType: String, encoding: String = "UTF-8", session: Session = sessionManager.selectedSessionOrThrow): Unit` Loads the provided data based on the mime type using the provided session (or the currently selected session if none is provided).