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 |
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 |
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 |
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 |
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 |
The items on this page are in the following plugins: MBS MacCocoa Plugin.