MMKV

class MMKV(path: String)

Constructors

Link copied to clipboard
constructor(path: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
operator fun contains(key: String): Boolean
Link copied to clipboard
fun getBoolean(key: String, default: Boolean): Boolean
Link copied to clipboard
fun getByteArray(key: String, default: ByteArray): ByteArray
Link copied to clipboard
fun getDouble(key: String, default: Double): Double
Link copied to clipboard
fun getFloat(key: String, default: Float): Float
Link copied to clipboard
fun getInt(key: String, default: Int): Int
Link copied to clipboard
fun getLong(key: String, default: Long): Long
Link copied to clipboard
fun getString(key: String, default: String): String
Link copied to clipboard
fun remove(key: String)
Link copied to clipboard
fun set(key: String, value: Boolean, expire: Int)
fun set(key: String, value: ByteArray, expire: Int)
fun set(key: String, value: Double, expire: Int)
fun set(key: String, value: Float, expire: Int)
fun set(key: String, value: Int, expire: Int)
fun set(key: String, value: Long, expire: Int)
fun set(key: String, value: String, expire: Int)