DefaultBrowserLauncher

Launcher of a URL in the default browser.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val isValid: Boolean

Indicates whether the browser is valid and can be launched.

Functions

Link copied to clipboard
open override fun launch(url: String)

Launches a URL in the specified browser.

Link copied to clipboard
open fun launchLocal(port: Int)

Launches a localhost:<port> in the specified browser.