Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface SecurityProvider
Link copied to clipboard
interface SettingsDataStore
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun SettingsDataStore.Companion.create(context: Context, name: String = "settings.preferences_pb", migrations: List<DataMigration<Preferences>> = listOf(), corruptionHandler: ReplaceFileCorruptionHandler<Preferences>? = null, scope: CoroutineScope = CoroutineScope(Dispatchers.IO + SupervisorJob()), security: Security = NoOpSecurity): SettingsDataStore
fun SettingsDataStore.Companion.create(name: String = "settings.preferences_pb", migrations: List<DataMigration<Preferences>> = listOf(), corruptionHandler: ReplaceFileCorruptionHandler<Preferences>? = null, scope: CoroutineScope = CoroutineScope(Dispatchers.IO + SupervisorJob()), security: Security = NoOpSecurity): SettingsDataStore
Link copied to clipboard
fun createDataStore(migrations: List<DataMigration<Preferences>>, corruptionHandler: ReplaceFileCorruptionHandler<Preferences>?, scope: CoroutineScope, producePath: () -> String): DataStore<Preferences>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun stringSetPreference(name: String, defaultValue: Set<String>?): IDataStorePreference<Set<String>?>