BrowserBackend

interface BrowserBackend

The browser interface which is used to create tabs and manage the browser backend. Due to different possible browser backends, this interface is used to abstract the browser backend.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
abstract val browsers: List<Browser>
Link copied to clipboard
abstract val isInitialized: Boolean

Functions

Link copied to clipboard
abstract fun createBrowser(url: String, position: BrowserViewport = BrowserViewport.FULLSCREEN, settings: BrowserSettings = ScreenManager.browserSettings, priority: Short = 0, inputAcceptor: InputAcceptor? = null): Browser
Link copied to clipboard
abstract fun makeDependenciesAvailable(taskManager: TaskManager, whenAvailable: () -> Unit)
Link copied to clipboard
abstract fun start()

Starts the browser backend and initializes it.

Link copied to clipboard
abstract fun stop()

Stops the browser backend and cleans up resources.

Link copied to clipboard
abstract fun update()

Usually does a global render update of the browser.