C# 클래스 InTheHand.System.Launcher

Starts the default app associated with the specified file or URI.
파일 보기 프로젝트 열기: inthehand/Charming

공개 메소드들

메소드 설명
LaunchFileAsync ( IStorageFile file ) : Task

Starts the app associated with the specified file.

PlatformVersion supported iOSiOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later

LaunchFolderAsync ( IStorageFolder folder ) : Task

Launches File Explorer and displays the contents of the specified folder.

PlatformVersion supported Windows UWPWindows 10 Windows (Desktop Apps)Windows Vista or later

LaunchUriAsync ( Uri uri ) : Task

Starts the default app associated with the URI scheme name for the specified URI.

PlatformVersion supported iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later

QueryUriSupportAsync ( Uri uri, LaunchQuerySupportType launchQuerySupportType ) : Task

Asynchronously query whether an app can be activated for the specified URI and launch type.

PlatformVersion supported Android- iOSiOS 9.0 and later tvOStvOS 9.0 and later Windows UWPWindows 10 Windows Store- Windows Phone Store- Windows Phone Silverlight- Windows (Desktop Apps)-

비공개 메소드들

메소드 설명
Launch ( string applicationName, string commandLine ) : bool
LaunchUriAsync ( Uri uri, LauncherOptions options ) : Task

Starts the default app associated with the URI scheme name for the specified URI.

PlatformVersion supported iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later

ViewControllerForPreview ( UIDocumentInteractionController c ) : UIViewController

메소드 상세

LaunchFileAsync() 공개 정적인 메소드

Starts the app associated with the specified file.
PlatformVersion supported iOSiOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
public static LaunchFileAsync ( IStorageFile file ) : Task
file IStorageFile The file.
리턴 Task

LaunchFolderAsync() 공개 정적인 메소드

Launches File Explorer and displays the contents of the specified folder.
PlatformVersion supported Windows UWPWindows 10 Windows (Desktop Apps)Windows Vista or later
public static LaunchFolderAsync ( IStorageFolder folder ) : Task
folder IStorageFolder The folder to display in File Explorer.
리턴 Task

LaunchUriAsync() 공개 정적인 메소드

Starts the default app associated with the URI scheme name for the specified URI.
PlatformVersion supported iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
public static LaunchUriAsync ( Uri uri ) : Task
uri System.Uri The URI.
리턴 Task

QueryUriSupportAsync() 공개 정적인 메소드

Asynchronously query whether an app can be activated for the specified URI and launch type.
PlatformVersion supported Android- iOSiOS 9.0 and later tvOStvOS 9.0 and later Windows UWPWindows 10 Windows Store- Windows Phone Store- Windows Phone Silverlight- Windows (Desktop Apps)-
public static QueryUriSupportAsync ( Uri uri, LaunchQuerySupportType launchQuerySupportType ) : Task
uri System.Uri The URI.
launchQuerySupportType LaunchQuerySupportType The type of launch for which to query support.
리턴 Task