Provides access to the device speech recognition (speech to text) feature. This feature is only available on iOS 10+. Make sure to add the NSSpeechRecognitionUsageDescription and NSMicrophoneUsageDescription keys to the plist.
AuthorizationStatusChanged (Status As int) Result (Success As Boolean, IsFinal As Boolean, Texts As List)
Speech recognition services are disabled or the user denied access for this application.
AUTHORIZATION_NOT_DETERMINEDAsInt [read only]
AUTHORIZATION_RESTRICTEDAsInt [read only]
Application is not authorized and user is restricted from changing its state (parental control for example).
DefaultLanguageAsString [read only]
Returns the device default language.
Initializes the object and sets the subs that will handle the events. The AuthorizationStatusChanged event will be raised.
IsAuthorizedAsBoolean [read only]
Returns true if your app is authorized to access the location services.
SetLanguage (LanguageAsString) AsBoolean
Sets the engine language. The SupportedLanguages property returns a list with the supported languages. This method returns True is the engine is ready. It will return false if the language is not supported or if the engine is not available. For example if there is no Internet connection.
Starts audio capturing. The Result event will be raised. ReportPartialResults - Whether to return partial results when such are available. If False then the Result event will only be called once after StopRecording is called.
Stops recording. The Ready event will be raised.
Returns a List with the supported languages (two letters code).