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

DefaultLoadUrlUseCase

class DefaultLoadUrlUseCase : LoadUrlUseCase (source)

Functions

Name Summary
invoke operator fun invoke(url: String, flags: LoadUrlFlags): Unit
Loads the provided URL using the currently selected session. If there’s no selected session a new session will be created using onNoSession.operator fun invoke(url: String, session: Session? = sessionManager.selectedSession, flags: LoadUrlFlags = LoadUrlFlags.none()): Unit
Loads the provided URL using the specified session. If no session is provided the currently selected session will be used. If there’s no selected session a new session will be created using onNoSession.