Platforms to show: All Mac Windows Linux Cross-Platform
Back to SFSpeechRecognitionRequestMBS class.
SFSpeechRecognitionRequestMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
SFSpeechRecognitionRequestMBS.interactionIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If different parts of your app have different speech recognition needs, you can use this property to identify the part of your app that is making each request. For example, if one part of your app lets users speak phone numbers and another part lets users speak street addresses, consistently identifying the part of the app that makes a recognition request may help improve the accuracy of the results.
(Read and Write property)
Some examples using this property:
SFSpeechRecognitionRequestMBS.requiresOnDeviceRecognition as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Set this property to true to prevent an SFSpeechRecognitionRequestMBS from sending audio over the network. However, on-device requests won’t be as accurate.
The request only honors this setting if the supportsOnDeviceRecognition (SFSpeechRecognizerMBS) property is also YES.
(Read and Write property)
Some examples using this property:
SFSpeechRecognitionRequestMBS.shouldReportPartialResults as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The default value of this property is true. If you want only final results (and you don't care about intermediate results), set this property to false to prevent the system from doing extra work.
(Read and Write property)
Some examples using this property:
SFSpeechRecognitionRequestMBS.taskHint as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SpeechRecognition | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The default value of this property is kTaskHintUnspecified. See SFSpeechRecognitionResultMBS for constants.
(Read and Write property)
Some examples using this property:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.