//preferences/dev.atick.storage.preferences.data/UserPreferencesDataSource
UserPreferencesDataSource
interface UserPreferencesDataSource
Interface defining methods to interact with user preferences data source.
Inheritors
UserPreferencesDataSourceImpl |
Properties
Name | Summary |
---|---|
userData | [androidJvm] abstract val userData: Flow<UserData> A Flow that emits UserData representing user-specific data. |
Functions
Name | Summary |
---|---|
setDarkThemeConfig | [androidJvm] abstract suspend fun setDarkThemeConfig(darkThemeConfig: DarkThemeConfig) Sets the dark theme configuration in the user preferences. |
setDynamicColorPreference | [androidJvm] abstract suspend fun setDynamicColorPreference(useDynamicColor: Boolean) Sets the dynamic color preferences in the user preferences. |
setProfile | [androidJvm] abstract suspend fun setProfile(profile: Profile) Sets the user profile in the user preferences. |
setThemeBrand | [androidJvm] abstract suspend fun setThemeBrand(themeBrand: ThemeBrand) Sets the theme brand in the user preferences. |