VoiceCommandManager Classe

Definizione

Nota

VoiceCommandManager può essere modificato o non disponibile per le versioni dopo Windows Phone 8.1. Usare invece Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.

Classe statica che consente di installare set di comandi da un file VCD (Voice Command Definition) e di accedere ai set di comandi installati.

public ref class VoiceCommandManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")]
class VoiceCommandManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class VoiceCommandManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")]
public static class VoiceCommandManager
Public Class VoiceCommandManager
Ereditarietà
Object Platform::Object IInspectable VoiceCommandManager
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Mobile Extension SDK (è stato introdotto in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (è stato introdotto in v1.0)

Proprietà

InstalledCommandSets

Dizionario che contiene tutti i set di comandi installati con un attributo Name impostato nel file di definizione del comando vocale .

Metodi

InstallCommandSetsFromStorageFileAsync(StorageFile)

Installa gli elementi CommandSet in un file di definizione del comando vocale .

Si applica a

Vedi anche