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
System.String

string uri scheme

Returns

System.Threading.Tasks.Task

Remarks

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

Applies to

OpenAsync(Uri)

Launches the app specified by the uri scheme

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

Parameters

uri
System.Uri

uri scheme

Returns

System.Threading.Tasks.Task

Remarks

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

Applies to

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

System.Threading.Tasks.Task

Applies to