Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SpeechRecognition.RequestAuthorization
Requests authorization for Speech Recognition.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Speech | 9.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "SpeechRecognition.RequestAuthorization" )
Parameters
none
Result
Returns OK or error.
Description
Requests authorization for Speech Recognition.Asks the user to allow your app to perform speech recognition.
Call this method before performing any other tasks associated with speech recognition. This method executes asynchronously, returning shortly after you call it.
This may show a dialog and user may confirm later.
When your app's authorization status is NotDetermined, this method causes the system to prompt the user to grant or deny permission for your app to use speech recognition. The prompt includes the custom message you specify in the NSSpeechRecognitionUsageDescription key of your app's Info.plist file. The user's response is saved so that future calls to this method do not prompt the user again.
Examples
Request authorization:
Set Variable [ $r; MBS( "SpeechRecognition.RequestAuthorization" ) ]
Example Databases
Blog Entries
This function checks for a license.
Created 22nd August 2019, last changed 22nd August 2019
SpeechRecognition.Recognize - SpeechRecognition.SupportedLocales