Launcher class

Starts the default app associated with the specified file or URI.

Constructors

Launcher.fromPtr(Pointer<COMObject> ptr)

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

findAppUriHandlersAsync(Uri? uri) Future<List<AppInfo?>>
findFileHandlersAsync(String extension) Future<List<AppInfo?>>
findUriSchemeHandlersAsync(String scheme) Future<List<AppInfo?>>
findUriSchemeHandlersWithLaunchUriTypeAsync(String scheme, LaunchQuerySupportType launchQuerySupportType) Future<List<AppInfo?>>
launchFileAsync(IStorageFile? file) Future<bool>
launchFileWithOptionsAsync(IStorageFile? file, LauncherOptions? options) Future<bool>
launchFolderAsync(IStorageFolder? folder) Future<bool>
launchFolderPathAsync(String path) Future<bool>
launchFolderPathForUserAsync(User? user, String path) Future<bool>
launchFolderPathWithOptionsAsync(String path, FolderLauncherOptions? options) Future<bool>
launchFolderPathWithOptionsForUserAsync(User? user, String path, FolderLauncherOptions? options) Future<bool>
launchFolderWithOptionsAsync(IStorageFolder? folder, FolderLauncherOptions? options) Future<bool>
launchUriAsync(Uri? uri) Future<bool>
launchUriForResultsAsync(Uri? uri, LauncherOptions? options) Future<LaunchUriResult?>
launchUriForResultsForUserAsync(User? user, Uri? uri, LauncherOptions? options) Future<LaunchUriResult?>
launchUriForResultsWithDataAsync(Uri? uri, LauncherOptions? options, ValueSet? inputData) Future<LaunchUriResult?>
launchUriForResultsWithDataForUserAsync(User? user, Uri? uri, LauncherOptions? options, ValueSet? inputData) Future<LaunchUriResult?>
launchUriForUserAsync(User? user, Uri? uri) Future<LaunchUriStatus>
launchUriWithDataAsync(Uri? uri, LauncherOptions? options, ValueSet? inputData) Future<bool>
launchUriWithDataForUserAsync(User? user, Uri? uri, LauncherOptions? options, ValueSet? inputData) Future<LaunchUriStatus>
launchUriWithOptionsAsync(Uri? uri, LauncherOptions? options) Future<bool>
launchUriWithOptionsForUserAsync(User? user, Uri? uri, LauncherOptions? options) Future<LaunchUriStatus>
queryAppUriSupportAsync(Uri? uri) Future<LaunchQuerySupportStatus>
queryAppUriSupportWithPackageFamilyNameAsync(Uri? uri, String packageFamilyName) Future<LaunchQuerySupportStatus>
queryFileSupportAsync(StorageFile? file) Future<LaunchQuerySupportStatus>
queryFileSupportWithPackageFamilyNameAsync(StorageFile? file, String packageFamilyName) Future<LaunchQuerySupportStatus>
queryUriSupportAsync(Uri? uri, LaunchQuerySupportType launchQuerySupportType) Future<LaunchQuerySupportStatus>
queryUriSupportWithPackageFamilyNameAsync(Uri? uri, LaunchQuerySupportType launchQuerySupportType, String packageFamilyName) Future<LaunchQuerySupportStatus>