STTLanguage class
STT language hint. Sources pre-IDL: Swift STTConfiguration default = "en-US", STTOptions default = "en" Kotlin STTConfiguration default = "en-US", STTOptions default = "en" Dart STTOptions language nullable; auto-detect when null RN STTOptions.language?: string (free-form) Web STTTranscribeOptions.language?: string (free-form) C ABI RAC_STT_DEFAULT_LANGUAGE = "en" Free-form BCP-47 strings are collapsed to base language codes here. AUTO is the explicit "detect from audio" sentinel; UNSPECIFIED falls back to the backend default (typically "en").
rac_wire_string annotations expose the BCP-47 base code for each value via
the codegen-generated wireString accessor (see idl/rac_options.proto and
idl/codegen/generate_swift_convenience.py). Swift SDK bcp47Code is sourced
from this annotation; the unspecified case falls back to "" by default.
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
- wireString → String
-
Available on STTLanguage, provided by the STTLanguageWireString extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → STTLanguage?
Constants
- STT_LANGUAGE_AR → const STTLanguage
- STT_LANGUAGE_AUTO → const STTLanguage
- STT_LANGUAGE_DE → const STTLanguage
- STT_LANGUAGE_EN → const STTLanguage
- STT_LANGUAGE_ES → const STTLanguage
- STT_LANGUAGE_FR → const STTLanguage
- STT_LANGUAGE_HI → const STTLanguage
- STT_LANGUAGE_IT → const STTLanguage
- STT_LANGUAGE_JA → const STTLanguage
- STT_LANGUAGE_KO → const STTLanguage
- STT_LANGUAGE_PT → const STTLanguage
- STT_LANGUAGE_RU → const STTLanguage
- STT_LANGUAGE_UNSPECIFIED → const STTLanguage
- STT_LANGUAGE_ZH → const STTLanguage
-
values
→ const List<
STTLanguage>