Platforms to show: All Mac Windows Linux Cross-Platform

SFSpeechRecognitionTaskMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A task object that you use to monitor the speech recognition progress.

Use an SFSpeechRecognitionTaskMBS object to determine the state of a speech recognition task, to cancel an ongoing task, or to signal the end of the task.
You do not create speech recognition task objects directly. Instead, you receive one of these objects after calling recognitionTaskWithRequest.

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.

States

Constant Value Description
kStateCanceling 3 Delivery of recognition results has finished, but audio recording may be ongoing.
kStateCompleted 4 Delivery of recognition requests has finished and audio recording has stopped.
kStateFinishing 2 Audio recording has stopped, but delivery of recognition results may continue.
kStateRunning 1 Speech recognition (potentially including audio recording) is in progress.
kStateStarting 0 Speech recognition (potentially including audio recording) has not yet started.

This class has no sub classes.

Some methods using this class:

Some events using this class:

Some examples using this class:

Blog Entries


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


SFSpeechRecognitionResultMBS   -   SFSpeechRecognizerMBS


The biggest plugin in space...