Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.77 KB

voicecommandresponse_applaunchargument.md

File metadata and controls

28 lines (19 loc) · 1.77 KB
-api-id -api-type
P:Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse.AppLaunchArgument
winrt property

Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse.AppLaunchArgument

-description

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.

-property-value

The string used as a launch parameter.

-remarks

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.

-examples

-see-also

Deep link from Cortana to a background app, elements and attributes v1.2, Cortana interactions, Cortana design guidelines, Cortana voice command sample