Browser.OpenAsync Method

Definition

Overloads

OpenAsync(String)

Open the browser to specified uri.

OpenAsync(Uri)

Open the browser to specified uri.

OpenAsync(String, BrowserLaunchMode)

Open the browser to specified uri.

OpenAsync(String, BrowserLaunchOptions)

Open the browser to specified uri.

OpenAsync(Uri, BrowserLaunchMode)

Open the browser to specified uri.

OpenAsync(Uri, BrowserLaunchOptions)

Open the browser to specified uri.

OpenAsync(String)

Open the browser to specified uri.

public static System.Threading.Tasks.Task OpenAsync (string uri);

Parameters

uri
String

Uri to launch.

Returns

Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.

Remarks

OpenAsync(Uri)

Open the browser to specified uri.

public static System.Threading.Tasks.Task OpenAsync (Uri uri);

Parameters

uri
Uri

Uri to launch.

Returns

Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.

Remarks

OpenAsync(String, BrowserLaunchMode)

Open the browser to specified uri.

public static System.Threading.Tasks.Task OpenAsync (string uri, Xamarin.Essentials.BrowserLaunchMode launchMode);

Parameters

uri
String

Uri to launch.

launchMode
BrowserLaunchMode

How to launch the browser.

Returns

Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.

Remarks

OpenAsync(String, BrowserLaunchOptions)

Open the browser to specified uri.

public static System.Threading.Tasks.Task OpenAsync (string uri, Xamarin.Essentials.BrowserLaunchOptions options);

Parameters

uri
String

Uri to launch.

options
BrowserLaunchOptions

Launch options for the browser.

Returns

Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.

Remarks

OpenAsync(Uri, BrowserLaunchMode)

Open the browser to specified uri.

public static System.Threading.Tasks.Task OpenAsync (Uri uri, Xamarin.Essentials.BrowserLaunchMode launchMode);

Parameters

uri
Uri

Uri to launch.

launchMode
BrowserLaunchMode

How to launch the browser.

Returns

Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.

Remarks

OpenAsync(Uri, BrowserLaunchOptions)

Open the browser to specified uri.

public static System.Threading.Tasks.Task<bool> OpenAsync (Uri uri, Xamarin.Essentials.BrowserLaunchOptions options);

Parameters

uri
Uri

Uri to launch.

options
BrowserLaunchOptions

Launch options for the browser.

Returns

Completed task when browser is launched, but not necessarily closed. Result indicates if launching was successful or not.

Remarks

Applies to