Speech Recognition
The Speech Recognition Control enables applications to capture user input via voice and convert it to text. This control is ideal for voice-based commands and inputs, improving accessibility and user experience in mobile apps.
Properties
The following properties allow customization and control of the Speech Recognition component:
Property | Description |
---|---|
Language | The language in which the Speech Recognition processes input (e.g., English). |
Matches | The maximum number of matches the Speech Recognition will return (default: 5). |
Prompt | The text displayed in Android devices as a popup prompt for voice input. |
Start Speech Style | Customization options for the style of the "Start Listening" UI. |
Stop Speech Style | Customization options for the style of the "Stop Listening" UI. |
Permission Error Style | Customization for the error message displayed when microphone permissions are denied. |
Permission Text | The error message shown to users if permissions are denied (e.g., "Permission denied"). |
Control Outputs
The outputs from the Speech Recognition Control, represented by the placeholder {{speechrecognition}}
, can be referenced in other controls, data queries, or JavaScript functions using the control's unique name.
Output | Description |
---|---|
speechrecognition | Contains the recognized speech data converted to text. |