Share via


ILauncher Interface

Definition

The Launcher API enables an application to open a URI by the system. This is often used when deep linking into another application's custom URI schemes.

public interface class ILauncher
public interface ILauncher
type ILauncher = interface
Public Interface ILauncher

Remarks

If you are looking to open the browser to a website then you should refer to the IBrowser API.

On iOS 9+, you will have to specify the LSApplicationQueriesSchemes key in the info.plist file with URI schemes you want to query from your app.

Methods

CanOpenAsync(Uri)

Queries if the device supports opening the given URI scheme.

OpenAsync(OpenFileRequest)

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

OpenAsync(Uri)

Opens the app specified by the URI scheme.

TryOpenAsync(Uri)

First checks if the provided URI is supported, then opens the app specified by the URI.

Extension Methods

CanOpenAsync(ILauncher, String)

Queries if the device supports opening the given URI scheme.

OpenAsync(ILauncher, String)

Opens the app specified by the URI scheme.

TryOpenAsync(ILauncher, String)

First checks if the provided URI is supported, then opens the app specified by the URI.

Applies to