VoiceCommandActivatedEventArgs 클래스

정의

음성 명령을 통해 앱을 시작할 때 앱의 활성화된 이벤트에 대한 정보를 포함합니다.

public ref class VoiceCommandActivatedEventArgs sealed : IVoiceCommandActivatedEventArgs
public ref class VoiceCommandActivatedEventArgs sealed : IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandActivatedEventArgs final : IVoiceCommandActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandActivatedEventArgs final : IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandActivatedEventArgs : IVoiceCommandActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandActivatedEventArgs : IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs
Public NotInheritable Class VoiceCommandActivatedEventArgs
Implements IVoiceCommandActivatedEventArgs
Public NotInheritable Class VoiceCommandActivatedEventArgs
Implements IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs
상속
Object Platform::Object IInspectable VoiceCommandActivatedEventArgs
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

IActivatedEventArgs.Kind 값이 VoiceCommand인 경우 활성화된 이벤트 또는 XAML(Extensible Application Markup Language) OnActivated 메서드를 재정의하여 이 개체에 액세스합니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1607 14393 사용자

속성

Kind

활성화 유형을 가져옵니다.

PreviousExecutionState

활성화되기 전에 앱의 실행 상태를 가져옵니다.

Result

앱을 활성화한 음성 명령을 나타내는 SpeechRecognitionResult 개체를 가져옵니다.

SplashScreen

시작 화면에서 활성화된 앱으로의 전환에 대한 정보를 가져옵니다.

User

앱이 활성화된 사용자를 가져옵니다.

적용 대상

추가 정보