Platforms to show: All Mac Windows Linux Cross-Platform

Back to SFSpeechRecognitionRequestMBS class.

SFSpeechRecognitionRequestMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

SFSpeechRecognitionRequestMBS.contextualStrings as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
An array of phrases that should be recognized, even if they are not in the system vocabulary.

Use this property to specify short custom phrases that are unique to your app. You might include phrases with the names of characters, products, or places that are specific to your app. You might also include domain-specific terminology or unusual or made-up words. Assigning custom phrases to this property improves the likelihood of those phrases being recognized.
Keep phrases relatively brief, limiting them to one or two words whenever possible. Lengthy phrases are less likely to be recognized. In addition, try to limit each phrase to something the user can say without pausing.
Limit the total number of phrases to no more than 100.

Some examples using this method:

SFSpeechRecognitionRequestMBS.setContextualStrings(contextualStrings() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SpeechRecognition MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets array of phrases that should be recognized, even if they are not in the system vocabulary.

Use this property to specify short custom phrases that are unique to your app. You might include phrases with the names of characters, products, or places that are specific to your app. You might also include domain-specific terminology or unusual or made-up words. Assigning custom phrases to this property improves the likelihood of those phrases being recognized.
Keep phrases relatively brief, limiting them to one or two words whenever possible. Lengthy phrases are less likely to be recognized. In addition, try to limit each phrase to something the user can say without pausing.
Limit the total number of phrases to no more than 100.

Some examples using this method:

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


The biggest plugin in space...