pub struct Launcher;
Implementations§
§impl Launcher
impl Launcher
pub fn LaunchFileAsync<P0>(file: P0) -> Result<IAsyncOperation<bool>>where
P0: Param<IStorageFile>,
pub fn LaunchFileWithOptionsAsync<P0, P1>(
file: P0,
options: P1,
) -> Result<IAsyncOperation<bool>>where
P0: Param<IStorageFile>,
P1: Param<LauncherOptions>,
pub fn LaunchUriAsync<P0>(uri: P0) -> Result<IAsyncOperation<bool>>where
P0: Param<Uri>,
pub fn LaunchUriWithOptionsAsync<P0, P1>(
uri: P0,
options: P1,
) -> Result<IAsyncOperation<bool>>where
P0: Param<Uri>,
P1: Param<LauncherOptions>,
pub fn LaunchUriForResultsAsync<P0, P1>(
uri: P0,
options: P1,
) -> Result<IAsyncOperation<LaunchUriResult>>where
P0: Param<Uri>,
P1: Param<LauncherOptions>,
pub fn LaunchUriForResultsWithDataAsync<P0, P1, P2>( uri: P0, options: P1, inputdata: P2, ) -> Result<IAsyncOperation<LaunchUriResult>>
pub fn LaunchUriWithDataAsync<P0, P1, P2>( uri: P0, options: P1, inputdata: P2, ) -> Result<IAsyncOperation<bool>>
pub fn QueryUriSupportAsync<P0>(
uri: P0,
launchquerysupporttype: LaunchQuerySupportType,
) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>where
P0: Param<Uri>,
pub fn QueryUriSupportWithPackageFamilyNameAsync<P0>(
uri: P0,
launchquerysupporttype: LaunchQuerySupportType,
packagefamilyname: &HSTRING,
) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>where
P0: Param<Uri>,
pub fn QueryFileSupportAsync<P0>(
file: P0,
) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>where
P0: Param<StorageFile>,
pub fn QueryFileSupportWithPackageFamilyNameAsync<P0>(
file: P0,
packagefamilyname: &HSTRING,
) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>where
P0: Param<StorageFile>,
pub fn FindUriSchemeHandlersAsync( scheme: &HSTRING, ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>
pub fn FindUriSchemeHandlersWithLaunchUriTypeAsync( scheme: &HSTRING, launchquerysupporttype: LaunchQuerySupportType, ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>
pub fn FindFileHandlersAsync( extension: &HSTRING, ) -> Result<IAsyncOperation<IVectorView<AppInfo>>>
pub fn LaunchFolderAsync<P0>(folder: P0) -> Result<IAsyncOperation<bool>>where
P0: Param<IStorageFolder>,
pub fn LaunchFolderWithOptionsAsync<P0, P1>(
folder: P0,
options: P1,
) -> Result<IAsyncOperation<bool>>where
P0: Param<IStorageFolder>,
P1: Param<FolderLauncherOptions>,
pub fn QueryAppUriSupportAsync<P0>(
uri: P0,
) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>where
P0: Param<Uri>,
pub fn QueryAppUriSupportWithPackageFamilyNameAsync<P0>(
uri: P0,
packagefamilyname: &HSTRING,
) -> Result<IAsyncOperation<LaunchQuerySupportStatus>>where
P0: Param<Uri>,
pub fn FindAppUriHandlersAsync<P0>(
uri: P0,
) -> Result<IAsyncOperation<IVectorView<AppInfo>>>where
P0: Param<Uri>,
pub fn LaunchUriForUserAsync<P0, P1>( user: P0, uri: P1, ) -> Result<IAsyncOperation<LaunchUriStatus>>
pub fn LaunchUriWithOptionsForUserAsync<P0, P1, P2>( user: P0, uri: P1, options: P2, ) -> Result<IAsyncOperation<LaunchUriStatus>>
pub fn LaunchUriWithDataForUserAsync<P0, P1, P2, P3>( user: P0, uri: P1, options: P2, inputdata: P3, ) -> Result<IAsyncOperation<LaunchUriStatus>>
pub fn LaunchUriForResultsForUserAsync<P0, P1, P2>( user: P0, uri: P1, options: P2, ) -> Result<IAsyncOperation<LaunchUriResult>>
pub fn LaunchUriForResultsWithDataForUserAsync<P0, P1, P2, P3>( user: P0, uri: P1, options: P2, inputdata: P3, ) -> Result<IAsyncOperation<LaunchUriResult>>
pub fn LaunchFolderPathAsync(path: &HSTRING) -> Result<IAsyncOperation<bool>>
pub fn LaunchFolderPathWithOptionsAsync<P0>(
path: &HSTRING,
options: P0,
) -> Result<IAsyncOperation<bool>>where
P0: Param<FolderLauncherOptions>,
pub fn LaunchFolderPathForUserAsync<P0>(
user: P0,
path: &HSTRING,
) -> Result<IAsyncOperation<bool>>where
P0: Param<User>,
pub fn LaunchFolderPathWithOptionsForUserAsync<P0, P1>(
user: P0,
path: &HSTRING,
options: P1,
) -> Result<IAsyncOperation<bool>>where
P0: Param<User>,
P1: Param<FolderLauncherOptions>,
Auto Trait Implementations§
impl Freeze for Launcher
impl RefUnwindSafe for Launcher
impl Send for Launcher
impl Sync for Launcher
impl Unpin for Launcher
impl UnwindSafe for Launcher
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more