This interface allows an application to manage voice command menus. It includes methods for such tasks as activating and deactivating menus, and adding and deleting phrases.
Method |
Description |
IVCmdMenu::Activate | Activates a voice menu so that its commands can be recognized. |
IVCmdMenu::Add | Adds one or more commands to a voice menu. The added commands are appended to any existing commands in the menu. |
IVCmdMenu::Deactivate | Deactivates an active voice menu so that the application no longer listens for its commands. |
IVCmdMenu::EnableItem | Permanently enables or disables a menu item. When a command is disabled by using EnableItem, it is not compiled into the menu. |
IVCmdMenu::Get | Retrieves information about one or more commands in a voice menu. |
IVCmdMenu::ListGet | Retrieves the phrases stored in the current list for the selected voice menu. |
IVCmdMenu::ListSet | Sets the phrases in a list for a voice command. |
IVCmdMenu::Num | Retrieves the total number of commands on a voice menu. |
IVCmdMenu::Remove | Removes the specified commands from the voice menu. |
IVCmdMenu::Set | Sets information for one or more commands in a voice menu. |
IVCmdMenu::SetItem | Temporarily enables or disables a command on a voice menu. |
This interface is supported by all voice command objects.
The following flags are used with the methods of the IVCmdMenu interface to identify a command in a voice command menu: