Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    Statistic    FMM    Blog  


Requests authorization for Speech Recognition.

Component Version macOS Windows Linux Server iOS SDK
Speech 9.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "SpeechRecognition.RequestAuthorization" )




Returns OK or error.


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.


Request authorization:

Set Variable [ $r; MBS( "SpeechRecognition.RequestAuthorization" ) ]

Example Databases

Created 22nd August 2019, last changed 22nd August 2019

SpeechRecognition.Recognize - SpeechRecognition.SupportedLocales

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins

Start Chat