ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Speech Recognition functions / WLanguage procedure
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WLanguage procedure called by SpeechRecognitionTrigger
WLanguage procedure ("callback") called to run the speech recognition started by SpeechRecognitionTrigger.
Example
// Display the propositions returned by the speech recognition service in a List Box control
MyList is string
MyList = SpeechRecognitionTrigger("I am listening...", ...
SpeechRecognitionTrigger_Callback)
 
INTERNAL PROCEDURE SpeechRecognitionTrigger_Callback(Proposition)
IF ErrorOccurred = False THEN
FOR EACH STRING Proposition OF MyList SEPARATED BY CR
ListAdd(LIST_ListProposition, Proposition)
END
END
END
Syntax
SpeechRecognitionTrigger_Callback(<Suggestions>)
<Suggestions>: Character string
  • List of words or sentences proposed by the speech recognition service based on the words pronounced by the user. Each proposition is separated by a CR character (Carriage Return).
  • Empty string ("") in the following cases:
    • if the speech recognition was canceled by the user.
    • if an error occurred.
    • if no match was found by the speech recognition service.
    In this case, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.
Business / UI classification: UI Code
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help