VoiceCommandResponse.AppLaunchArgument 속성

정의

백그라운드 앱 서비스에서 응답과 연결할 수 있는 시작 매개 변수로 문자열을 가져오거나 설정합니다.

AppLaunchArgument는 Cortana의 딥 링크를 통해 시작할 때 포그라운드 앱의 상태 또는 컨텍스트를 지정하는 데 사용됩니다.

public:
 property Platform::String ^ AppLaunchArgument { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring AppLaunchArgument();

void AppLaunchArgument(winrt::hstring value);
public string AppLaunchArgument { get; set; }
var string = voiceCommandResponse.appLaunchArgument;
voiceCommandResponse.appLaunchArgument = string;
Public Property AppLaunchArgument As String

속성 값

String

Platform::String

winrt::hstring

시작 매개 변수로 사용되는 문자열입니다.

설명

앱에 대한 딥 링크를 사용하도록 설정하려면 앱 프로젝트의 Package.appxmanifest 파일에서 확장을 선언 windows.personalAssistantLaunch 합니다.

앱은 프로토콜 계약을 사용하여 URI(Uniform Resource Identifier) 활성화를 통해 포그라운드로 시작됩니다. 앱은 OnActivated 이벤트를 재정의하고 ProtocolActivationKind에 대한 검사 합니다. 자세한 내용은 URI 활성화 처리를 참조하세요.

적용 대상

추가 정보