OvokStorage
Key-value store that keeps the signed-in session between runs.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.24+fa54770
public abstract interface OvokStorageKey-value store that keeps the signed-in session between runs. Set it with OvokConfig.Builder.storage(OvokStorage).
Methods
getItem
public String getItem(String key)Reads a value.
Parameters:
key: the key
Returns: the stored value, or null when absent
setItem
public void setItem(String key, String value)Stores a value.
Parameters:
key: the keyvalue: the value
removeItem
public void removeItem(String key)Removes a value.
Parameters:
key: the key
Last updated on