Cache

interface Cache

A general purpose key value cache used internally by the SDK to optimize network calls. Will not be used to store sensitive information.

Functions

Link copied to clipboard
abstract fun clear()

Removes all entries from the cache.

Link copied to clipboard
abstract fun get(key: String): String?

Look up the key that was previously saved.

Link copied to clipboard
abstract fun set(key: String, value: String)

Save a value with the associated key.