Package 

Class SubscriptionModelStore

    • Method Summary

      Modifier and Type Method Description
      Boolean getHasSubscribers()
      final String getName() The persistable name of the model store.
      Unit replaceAll(List<SubscriptionModel> models, String tag) Replace all models in the store with the provided models.
      • Methods inherited from class com.onesignal.user.internal.subscriptions.SubscriptionModelStore

        create
      • Methods inherited from class com.onesignal.common.modeling.SimpleModelStore

        add, add, clear, get, list, onChanged, persist, remove, subscribe, unsubscribe
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

         final String getName()

        The persistable name of the model store. If not specified no persisting will occur.

      • replaceAll

         Unit replaceAll(List<SubscriptionModel> models, String tag)

        Replace all models in the store with the provided models.

        Parameters:
        models - The models to track in the model store.
        tag - The tag which identifies how/why the model store is being replaced.