IVoiceCommandActivatedEventArgs IVoiceCommandActivatedEventArgs IVoiceCommandActivatedEventArgs IVoiceCommandActivatedEventArgs IVoiceCommandActivatedEventArgs Interface


Represents the activated event object that contains the event info when the app is launched through a voice command.

public : interface IVoiceCommandActivatedEventArgs : IActivatedEventArgs
struct winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs : IActivatedEventArgs
public interface IVoiceCommandActivatedEventArgs : IActivatedEventArgs
Public Interface IVoiceCommandActivatedEventArgs Implements IActivatedEventArgs
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Kind Kind Kind Kind Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)

PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)

Result Result Result Result Result

Gets the SpeechRecognitionResult object representing the voice command that activated the app.

public : SpeechRecognitionResult Result { get; }
SpeechRecognitionResult Result();
public SpeechRecognitionResult Result { get; }
Public ReadOnly Property Result As SpeechRecognitionResult
var speechRecognitionResult = iVoiceCommandActivatedEventArgs.result;
SpeechRecognitionResult SpeechRecognitionResult SpeechRecognitionResult

The SpeechRecognitionResult object representing the voice commands that activated the app.

SplashScreen SplashScreen SplashScreen SplashScreen SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

(Inherited from IActivatedEventArgs)

See Also