AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones de reconocimiento de voz / Procedimiento WLanguage
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
Versión mínima requerida
  • Versión 25
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local