SonioxSessionConfig class
Constructors
-
SonioxSessionConfig({required String apiKey, required AudioConfig audio, String model = 'stt-rt-v4', bool languageIdentification = false, bool speakerDiarization = false, bool languageStrict = true, List<
String> languageHints = const [], SessionContext? context, bool endpointDetection = false, int maxEndpointDelayMs = 2000, Map<String, dynamic> extraParams = const {}})
Properties
- apiKey → String
-
final
- audio → AudioConfig
-
Input audio config
final
- context → SessionContext?
-
final
- endpointDetection → bool
-
Endpoint detection lets you know when a speaker has finished speaking.
final
-
extraParams
→ Map<
String, dynamic> -
Escape hatch for Soniox session parameters not yet covered by this class.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
languageHints
→ List<
String> -
List of languages used to help transcription, in ISO language code format.
final
- languageIdentification → bool
-
final
- languageStrict → bool
-
When languageStrict is set to true, the model will strongly prefer
producing output only in the specified languages in languageHints.
final
- maxEndpointDelayMs → int
-
Maximum delay between the end of speech and returned endpoint.
final
- model → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speakerDiarization → bool
-
final
-
toMap
→ Map<
String, dynamic> -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited