public interface UnbluPreferencesStorage
IMPORTANT: if you change the custom storage, please be aware that you are somehow capable of migrating the old data to the new storage.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(java.lang.String key)
A preference should be read from the storage
|
void |
put(java.lang.String key,
java.lang.String value)
A preference should be stored in the storage
|
void put(@NonNull
java.lang.String key,
@Nullable
java.lang.String value)
key - The key of the preferencevalue - The value for the given key@Nullable
java.lang.String get(@NonNull
java.lang.String key)
key - The key of the preference