SharedPreferencesModel

interface SharedPreferencesModel

Functions

getCar
Link copied to clipboard
abstract fun getCar(): Car
getInt
Link copied to clipboard
abstract fun getInt(key: String, defValue: Int? = null): Int?
getLong
Link copied to clipboard
abstract fun getLong(key: String, defValue: Long? = null): Long?
getString
Link copied to clipboard
abstract fun getString(key: String, defValue: String? = null): String?
getStringSet
Link copied to clipboard
abstract fun getStringSet(key: String, defValues: HashSet<String>? = null): HashSet<String>?
getTotpSecret
Link copied to clipboard
abstract fun getTotpSecret(host: String? = null, key: String = PAYMENT_AUTHORIZE): TotpSecret?
putInt
Link copied to clipboard
abstract fun putInt(key: String, value: Int)
putLong
Link copied to clipboard
abstract fun putLong(key: String, value: Long)
putString
Link copied to clipboard
abstract fun putString(key: String, value: String)
putStringSet
Link copied to clipboard
abstract fun putStringSet(key: String, values: HashSet<String>)
remove
Link copied to clipboard
abstract fun remove(key: String)
removeTotpSecret
Link copied to clipboard
abstract fun removeTotpSecret(host: String? = null, key: String = PAYMENT_AUTHORIZE)
setCar
Link copied to clipboard
abstract fun setCar(car: Car)
setTotpSecret
Link copied to clipboard
abstract fun setTotpSecret(host: String? = null, key: String = PAYMENT_AUTHORIZE, totpSecret: TotpSecret)

Inheritors

SharedPreferencesImpl
Link copied to clipboard