Launcher.OpenAsync Method

Definition

Overloads

OpenAsync(String)

Launches the app specified by the uri scheme

OpenAsync(Uri)

Launches the app specified by the uri scheme

OpenAsync(OpenFileRequest)

Requests to open a file in an application based on content type.

OpenAsync(String)

Launches the app specified by the uri scheme

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

Parameters

uri
String

string uri scheme

Returns

Remarks

May throw System.UriFormatException if uri is malformed. Verify if the uri scheme is supported before calling this method

OpenAsync(Uri)

Launches the app specified by the uri scheme

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

Parameters

uri
Uri

uri scheme

Returns

Remarks

May throw System.UriFormatException if uri is malformed. Verify if the uri scheme is supported before calling this method

OpenAsync(OpenFileRequest)

Requests to open a file in an application based on content type.

public static System.Threading.Tasks.Task OpenAsync (Xamarin.Essentials.OpenFileRequest request);

Parameters

request
OpenFileRequest

Request that contains information on the file to open.

Returns

Remarks

Applies to