Dela via


IVoiceCommandActivatedEventArgs Interface

Definition

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

public interface class IVoiceCommandActivatedEventArgs : IActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2878528765, 36163, 19942, 151, 117, 32, 112, 75, 88, 27, 0)]
struct IVoiceCommandActivatedEventArgs : IActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2878528765, 36163, 19942, 151, 117, 32, 112, 75, 88, 27, 0)]
public interface IVoiceCommandActivatedEventArgs : IActivatedEventArgs
Public Interface IVoiceCommandActivatedEventArgs
Implements IActivatedEventArgs
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)
PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)
Result

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

SplashScreen

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

(Inherited from IActivatedEventArgs)

Applies to

See also