Skip to main content

DeviceBrowser

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (4.1.0.0)

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

public class DeviceBrowser

Access this class through the Device singleton.

Methods​

Instance member Open(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 member Open(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.

Instance member OpenAsync(url, mode)​

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

ParameterTypeDescription
urlStringThe url to open
modeBrowserLaunchModeThe browser launch options

Returns: Task<Boolean>. true if the browser was opened.

Instance member OpenAsync(url, options)​

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

ParameterTypeDescription
urlStringThe url to open.
optionsBrowserLaunchOptionsThe browser launch options.

Returns: Task<Boolean>. true if the browser was opened.