Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

VoiceCommandActivatedEventArgs class

Contains info for the app's activated event when the app is launched through a voice command.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Members

The VoiceCommandActivatedEventArgs class has these types of members:

Properties

The VoiceCommandActivatedEventArgs class has these properties.

PropertyAccess typeDescription

Kind

Read-onlyGets the activation type.

PreviousExecutionState

Read-onlyGets the execution state of the app before it was activated.

Result

Read-onlyGets the SpeechRecognitionResult object representing the voice command that activated the app.

SplashScreen

Read-onlyGets info about the transition from the splash screen to the activated app.

 

Remarks

Access this object by overriding either the WinJS onactivated event or the XAML OnActivated method, when the value of IActivatedEventArgs.Kind is VoiceCommand.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Activation
Windows::ApplicationModel::Activation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Activation
Windows::ApplicationModel::Activation [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version]

See also

Object
IVoiceCommandActivatedEventArgs
IActivatedEventArgs

 

 

Anzeigen:
© 2015 Microsoft