generated from y9vad9/kotlin-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Usage examples
Viktor Varenik edited this page Nov 6, 2023
·
2 revisions
val credentialsStorage: CredentialsStorage
credentialsStorage.setString("key", "y9vad9")
credentialsStorage.setInt("key", 1)
credentialsStorage.setLong("key", 1L)
credentialsStorage.setBoolean("key", false)
val credentialsStorage: CredentialsStorage
val string: String? = credentialsStorage.getString("key")
val int: Int? = credentialsStorage.getInt("key")
val long: Long? = credentialsStorage.getLong("key")
val boolean: Boolean? = credentialsStorage.getBoolean("key")