DeviceBrowser
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid
Provides methods to open the device's embedded or external web browser.
- C#
- VB.NET
public class DeviceBrowser
Public Class DeviceBrowser
Access this class through the Device singleton.
Constructors
DeviceBrowser()
Initializes a new instance of DeviceBrowser.
Methods
Open(url, mode)
Opens the given url in the device's web browser.
| Parameter | Type | Description |
|---|---|---|
| url | String | The url to open |
| mode | BrowserLaunchMode | The browser launch options |
Returns: Boolean. true if the browser was opened.
Open(url, options)
Opens the given url in the device's web browser.
| Parameter | Type | Description |
|---|---|---|
| url | String | The url to open. |
| options | BrowserLaunchOptions | The browser launch options. |
Returns: Boolean. true if the browser was opened.