data-preferences-api¶
Public contracts and data models for application preferences.
Usage¶
Feature modules should depend on this module to access or observe user settings without being tied to the underlying storage implementation (DataStore).
Observing Preferences¶
Updating Preferences¶
Structure¶
source/datasource/: Specialized interfaces for each setting category.source/resource/: Data models representing the settings structure.
Available Preferences¶
Alongside theme, dashboard, MQTT, motion, and onboarding settings, the module exposes CameraPreferenceSource / CameraPreference (mode: String) — the camera source chosen for motion detection and MJPEG streaming (auto, front, rear, or external). Available on all form-factors, not just TV. (@since 1.4.0)