VoiceCommandDefinitionManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A static class that enables registering and using command sets from a Voice Command Data (VCD) file.
public ref class VoiceCommandDefinitionManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandDefinitionManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class VoiceCommandDefinitionManager
Public Class VoiceCommandDefinitionManager
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
InstalledCommandDefinitions |
A dictionary that contains all installed command sets that have a Name attribute set in the Voice Command Definition (VCD) file. Note Opening an app service connection can be resource intensive. Avoid accessing this property during time-sensitive operations, especially from the UI thread or when Suspending. |
Methods
InstallCommandDefinitionsFromStorageFileAsync(StorageFile) |
Installs the CommandSet elements in a Voice Command Definition (VCD) file. |