DavoiceInitAllOptions class

Options for initializing the unified STT/TTS stack.

Constructors

DavoiceInitAllOptions({required String locale, required String model, int? timeoutMs, String? onboardingJsonPath, bool? preferOffline, int? endOfUtteranceSilenceMs, bool? segmentResultsEnabled})
Creates unified STT/TTS initialization options.
const

Properties

endOfUtteranceSilenceMs → int?
End-of-utterance silence in ms for the speaker-verification route (native default 2000).
final
hashCode → int
The hash code for this object.
no setterinherited
locale → String
Speech locale, for example en-US.
final
model → String
Model path or Flutter asset key understood by the native bridge.
final
onboardingJsonPath → String?
Optional speaker-verification onboarding JSON path.
final
preferOffline → bool?
Prefer offline recognition (default true natively). Set false to allow online recognition on devices without an offline language pack.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segmentResultsEnabled → bool?
Forward Google's segmented-session finals as final results (default true).
final
timeoutMs → int?
Optional native timeout in milliseconds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Converts options to the native channel map.
toString() → String
A string representation of this object.
inherited

Operators

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