Speech Preferences Repository
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Persists user-level speech input preferences locally using shared_preferences. Stores settings such as preferred recognition locale, noise gate threshold, and whether speech input is enabled globally for the user. Reads from and writes to local device storage with no backend dependency.
speech-preferences-repository
Responsibilities
- Persist and retrieve user speech input preferences
- Provide default preference values for first-time users
- Expose preference streams for reactive UI updates
Interfaces
getSpeechLocale()
setSpeechLocale(String locale)
isSpeechEnabled()
setSpeechEnabled(bool enabled)
getNoiseGateThreshold()
setNoiseGateThreshold(double threshold)
resetToDefaults()
Stream<SpeechPreferences> get preferencesStream
Related Data Entities (1)
Data entities managed by this component