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

LoadDataUseCase

class LoadDataUseCase (source)

Functions

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