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 name or the value if names are not represented.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

valueOf(int value) STTLanguage?