All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.bselzer.ktx.intent.browser.Browser.kt Maven / Gradle / Ivy

The newest version!
package com.bselzer.ktx.intent.browser

interface Browser {

    /**
     * Opens the browser and navigates to the given [uri].
     *
     * @return true if successful
     */
    fun open(uri: String): Boolean

    companion object : Browser by SystemBrowser()
}

internal expect class SystemBrowser() : Browser





© 2015 - 2024 Weber Informatics LLC | Privacy Policy