VoiceTextEditBox

Text edit box node with voice dictation and configurable entry modes

Extends TextEditBox

The VoiceTextEditBox node is similar to the legacy TextEditBox node, but with additional voice entry functionality. Only one voice-enabled VoiceTextEditBox node may be on the screen at a time. If another VoiceTextEditBox is rendered on the screen, its voice functionality is disabled implicitly.

Fields

FieldTypeDefaultAccess PermissionDescription
voiceEnabledbooleanfalseREAD_WRITEEnables the text box to be voice-enabled. In this case, it will display a mic icon and have a voice UI with voice hints.
voiceToolTipWidthfloatFHD: 321HD: 214READ_WRITEThe maximum width of the voice hint tootip. The height scales based on the specified width.
voiceEntryTypestring"generic"READ_WRITEThe type of voice entry mode to be used:
  • "email": letter-by-letter dictation for emails.
  • "numeric": letter-by-letter dictation for PIN codes, zip codes, and other numeric input.
  • "alphanumeric": letter-by-letter dication for street addresses or other sequences of numbers and letters.
  • "generic": Full word input for search queries or other sequences of numbers, letters and symbols.
  • "password": letter-by-letter dication for passwords.
isDictatingbooleanfalseREAD-ONLYChecks whether the user is currently dictating to the keyboard.
voiceInputRegexFilterstring""WRITE-ONLYSpecify which characters may or may not be entered on the keyboard via dictation. For example, setting this field to "^[A-Za-z0-9_-]*$" prevents any special characters from being entered.