Udostępnij za pośrednictwem


WebUIVoiceCommandActivatedEventArgs Class

Definition

Provides information about an activated event raised when the app is activated from a voice command.

public ref class WebUIVoiceCommandActivatedEventArgs sealed : IVoiceCommandActivatedEventArgs, IActivatedEventArgsDeferral
public ref class WebUIVoiceCommandActivatedEventArgs sealed : IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIVoiceCommandActivatedEventArgs final : IVoiceCommandActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIVoiceCommandActivatedEventArgs final : IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIVoiceCommandActivatedEventArgs : IVoiceCommandActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIVoiceCommandActivatedEventArgs : IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs, IActivatedEventArgsDeferral
Public NotInheritable Class WebUIVoiceCommandActivatedEventArgs
Implements IActivatedEventArgsDeferral, IVoiceCommandActivatedEventArgs
Public NotInheritable Class WebUIVoiceCommandActivatedEventArgs
Implements IActivatedEventArgsDeferral, IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs
Inheritance
Object Platform::Object IInspectable WebUIVoiceCommandActivatedEventArgs
Attributes
Implements

Windows requirements

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

Remarks

Version history

Windows version SDK version Value added
1607 14393 User

Properties

ActivatedOperation

Gets the app activation operation.

Kind

Gets the activation type.

PreviousExecutionState

Gets the execution state of the app before it was activated.

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.

User

Gets the user that the app was activated for.

Applies to

See also