|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||SpeechRecognition||MBS MacFrameworks Plugin||19.4||Yes||No||No||Yes, macOS only||No|
Use an SFSpeechRecognitionResultMBS object to retrieve the results of a speech recognition request. You do not create these objects directly. Instead, the Speech framework creates them and passes them to the handler block or delegate object you specified when starting your speech recognition task.
A speech recognition result object contains one or more transcriptions of the current utterance. Each transcription has a confidence rating indicating how likely it is to be correct. (You can also get the transcription with the highest rating directly from the bestTranscription property.)
If you requested partial results from the speech recognizer, the transcriptions may represent only part of the total audio content. Use the final property to determine if the request contains partial or final results.
Requires MacOS 10.15 or later.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- 3 methods
- 4 constants
A task that uses captured speech for short, confirmation-style requests.
Use this hint type when you are using speech recognition to handle confirmation commands, such as "yes," "no," or "maybe."
A task that uses captured speech for text entry.
Use this hint type when you are using speech recognition for a task that's similar to the keyboard's built-in dictation function.
A task that uses captured speech to specify seach terms.
Use this hint type when you are using speech recognition to identify search terms.
An unspecified type of task.
Use this hint type when the intended use for captured speech does not match the other task types.
This class has no sub classes.
Some events for this class:
- SFSpeechRecognizerMBS.TaskDidFinishRecognition(task as SFSpeechRecognitionTaskMBS, recognitionResult as SFSpeechRecognitionResultMBS)
Some examples which use this class:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MBS Xojo PDF Plugins