public interface DataStorage
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITLEMENT_SDK_LICENSE |
| Modifier and Type | Method and Description |
|---|---|
Observable<Optional<String>> |
getEntitlement(String key) |
Observable<Optional<String>> |
getEntitlement(String key,
String defaultValue) |
Observable<Set<Notification>> |
getNotifications() |
void |
respondToNotification(Notification notification,
String action) |
void |
restore()
Causes
PersistenceCallback.onLoadData() to be invoked. |
static final String ENTITLEMENT_SDK_LICENSE
@Nonnull Observable<Optional<String>> getEntitlement(String key)
@Nonnull Observable<Optional<String>> getEntitlement(String key, @Nullable String defaultValue)
@Nonnull Observable<Set<Notification>> getNotifications()
void respondToNotification(Notification notification, String action) throws MetaClientException
MetaClientExceptionvoid restore()
throws MetaClientException
PersistenceCallback.onLoadData() to be invoked. Invocation happens on the same thread.MetaClientException