open Uri
suspend fun openUri(uri: String, parentWindow: String = "", ask: Boolean = false): Result<Unit>(source)
Opens a URI (e.g. https://example.com) in the user's preferred application.
Note: file:// URIs are not supported by this method; use OpenFile instead.
Parameters
uri
The URI to open.
parent Window
An identifier for the application window (typically empty string).
ask
Whether to prompt the user to choose an application (requires portal v3+).