-api-id | -api-type |
---|---|
P:Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse.AppLaunchArgument |
winrt property |
Gets or sets a string as a launch parameter that can be associated with the response by the background app service.
AppLaunchArgument is used to specify the state or context of the foreground app when launched through a deep link in Cortana.
The string used as a launch parameter.
To enable deep linking to an app, declare the windows.personalAssistantLaunch
extension in the Package.appxmanifest file of the app project.
An app is launched to the foreground through Uniform Resource Identifier (URI) activation using a Protocol contract. The app must override the OnActivated event and check for an ActivationKind of Protocol. See Handle URI activation for more info.
Deep link from Cortana to a background app, elements and attributes v1.2, Cortana interactions, Cortana design guidelines, Cortana voice command sample