Launcher Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ref class Launcher abstract sealed
public static class Launcher
type Launcher = class
Public Class Launcher
- Inheritance
-
Launcher
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.
Properties
Default |
Provides the default implementation for static usage of this API. |
Methods
CanOpenAsync(String) |
Queries if the device supports opening the given URI scheme. |
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(String) |
Opens the app specified by the URI scheme. |
OpenAsync(Uri) |
Opens the app specified by the URI scheme. |
TryOpenAsync(String) |
First checks if the provided URI is supported, then opens the app specified by the URI. |
TryOpenAsync(Uri) |
First checks if the provided URI is supported, then opens the app specified by the URI. |