ZTPrefStorage

class ZTPrefStorage(context: Context)

ZTPrefStorage

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTPrefStorage
Link copied to clipboard
fun ZTPrefStorage(context: Context)

Functions

clear
Link copied to clipboard
fun clear()
edit
Link copied to clipboard
fun edit(): ZTPrefStorage
getBoolean
Link copied to clipboard
fun getBoolean(key: String): Boolean
getLong
Link copied to clipboard
fun getLong(key: String): Long
getString
Link copied to clipboard
fun getString(key: String): String?
putBoolean
Link copied to clipboard
fun putBoolean(key: String, value: Boolean)
putFloat
Link copied to clipboard
fun putFloat(key: String, value: Float)
putInt
Link copied to clipboard
fun putInt(key: String, value: Int)
putLong
Link copied to clipboard
fun putLong(key: String, value: Long)
putSerializable
Link copied to clipboard
fun putSerializable(key: String, value: Any)
putString
Link copied to clipboard
fun putString(key: String, value: String)
remove
Link copied to clipboard
fun remove(key: String)
save
Link copied to clipboard
fun save()