public interface BrowserService
Example
Services.get(BrowserService.class).ifPresent(service -> {
service.launchExternalBrowser("https://gluonhq.com/");
});
Android Configuration: none
iOS Configuration: none
| Modifier and Type | Method and Description |
|---|---|
void |
launchExternalBrowser(java.lang.String url)
Launches the user-default browser to show a specified URL.
|
void launchExternalBrowser(java.lang.String url)
throws java.io.IOException,
java.net.URISyntaxException
url - The URL to load when the browser application opens.java.io.IOExceptionjava.net.URISyntaxException