ApiApp().SetListening
Enables or disables the parent application’s speech recognition “hearing”.
Description
If the listening toggle object (System.Windows.Forms.CheckBox) has been registered via the application, this method sets that CheckBox.Checked value. Note that the application, not the core, is responsible for attaching and handling the CheckBox.CheckedChanged event, and for setting up a platform specific speech recognition solution.
Example Usage (C#)
bool success = _core.ApiApp().SetListening(true);
Parameters
bool |
enabled |
A boolean value to enable or disable listening in the parent application. |
Returns
The boolean success or failure of the operation.
See Also
- ApiApp().IsListening