//MetaPhrase/com.github.diegoberaldin.metaphrase.core.common.keystore/TemporaryKeyStore/save
save
[jvm]
abstract suspend fun save(key: String, value: Boolean)
Save a boolean value in the keystore under a given key.
Parameters
jvm
key | Key |
value | Value |
[jvm]
abstract suspend fun save(key: String, value: String)
Save a string value in the keystore under a given key.
Parameters
jvm
key | Key |
value | Value |
[jvm]
abstract suspend fun save(key: String, value: Int)
Save an integer value in the keystore under a given key.
Parameters
jvm
key | Key |
value | Value |
[jvm]
abstract suspend fun save(key: String, value: Float)
Save a floating point value in the keystore under a given key.
Parameters
jvm
key | Key |
value | Value |
[jvm]
abstract suspend fun save(key: String, value: Double)
Save a floating point (double precision) value in the keystore under a given key.
Parameters
jvm
key | Key |
value | Value |