Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSpeechRecognizerMBS class.

NSSpeechRecognizerMBS.commands as string()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the current list of commands.

NSSpeechRecognizerMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The destructor.

NSSpeechRecognizerMBS.SetCommands(commands() as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets the list of commands for which the receiver should listen to commands.

If the receiver is already listening, the current command list is updated and listening continues. commands should be an array of strings. The commands must be in U.S. English.

Some examples using this method:

NSSpeechRecognizerMBS.StartListening

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Tells the speech recognition engine to begin listening for commands.

When a command is recognized the message didRecognizeCommand is called.

NSSpeechRecognizerMBS.StopListening

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Speech MBS MacCocoa Plugin 6.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Tells the speech recognition engine to suspend listening for commands.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...