Skip to main content

DeviceBrowser

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid

Provides methods to open the device's embedded or external web browser.

public class DeviceBrowser

Access this class through the Device singleton.

Constructors

Instance memberDeviceBrowser()

Initializes a new instance of DeviceBrowser.

Methods

Instance memberOpen(url, mode)

Opens the given url in the device's web browser.

ParameterTypeDescription
urlStringThe url to open
modeBrowserLaunchModeThe browser launch options

Returns: Boolean. true if the browser was opened.

Instance memberOpen(url, options)

Opens the given url in the device's web browser.

ParameterTypeDescription
urlStringThe url to open.
optionsBrowserLaunchOptionsThe browser launch options.

Returns: Boolean. true if the browser was opened.