VoiceCommandManager クラス

定義

注意

VoiceCommandManager は、Windows Phone 8.1 以降のリリースでは変更または使用できない場合があります。 代わりに、 Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager を使用します

音声コマンド定義 (VCD) ファイルからコマンド セットをインストールし、インストールされているコマンド セットにアクセスできるようにする静的クラス。

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
継承
Object Platform::Object IInspectable VoiceCommandManager
属性

Windows の要件

デバイス ファミリ
Windows Mobile Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Phone.PhoneContract (v1.0 で導入)

プロパティ

InstalledCommandSets

音声コマンド定義ファイルに Name 属性が設定されているすべてのインストール済みコマンド セットを含むディクショナリ。

メソッド

InstallCommandSetsFromStorageFileAsync(StorageFile)

音声コマンド定義ファイルに CommandSet 要素をインストールします。

適用対象

こちらもご覧ください