Platforms to show: All Mac Windows Linux Cross-Platform

Back to SFSpeechRecognizerMBS class.

SFSpeechRecognizerMBS.defaultTaskHint as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A hint that indicates the type of speech recognition being requested.
Example

dim recognizer as New MySFSpeechRecognizer
recognizer.defaultTaskHint = SFSpeechRecognitionResultMBS.kTaskHintDictation

By default, the value of this property overrides the SFSpeechRecognitionTaskHintUnspecified value for requests.
(Read and Write property)

Some examples using this property:

SFSpeechRecognizerMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Internal object reference.

(Read and Write property)

SFSpeechRecognizerMBS.isAvailable as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value that indicates whether the speech recognizer is currently available.

When the value of this property is true, you may create new speech recognition tasks. When value of this property is false, speech recognition services are not available.
(Read only property)

SFSpeechRecognizerMBS.locale as NSLocaleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The locale of the speech recognizer.

The locale of the speech recognizer is an NSLocaleMBS object. The default value of this property is the system locale (that is, systemLocale).
(Read only property)

SFSpeechRecognizerMBS.supportsOnDeviceRecognition as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value that indicates whether the speech recognizer can operate without network access.

An SFSpeechRecognitionRequestMBS can only honor its requiresOnDeviceRecognition property if supportsOnDeviceRecognition is true. If supportsOnDeviceRecognition is false, the SFSpeechRecognizer requires a network in order to recognize speech.
(Read only property)

Some examples using this property:

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


The biggest plugin in space...