SharedPreferencesProvider
interface SharedPreferencesProvider
Functions
Link copied to clipboard
abstract fun getEncryptedSharedPreferences(name: String, multiprocess: Boolean = false): SharedPreferences?
Returns and instance of Encrypted Shared PReferences
Link copied to clipboard
abstract suspend fun getMigratedEncryptedSharedPreferences(origin: SharedPreferences, name: String): SharedPreferences?
Returns an instance of Encrypted Shared Preferences supporting multiprocess, migrating its contents if needed
Link copied to clipboard
abstract fun getSharedPreferences(name: String, multiprocess: Boolean = false, migrate: Boolean = false): SharedPreferences
Returns an instance of Shared preferences