Package 

Interface ISingletonModelStore

    • Method Summary

      Modifier and Type Method Description
      abstract Unit replace(TModel model, String tag) Replace the existing model with the new model provided.
      abstract TModel getModel() The model managed by this singleton model store.
      abstract Boolean getHasSubscribers() Whether there are currently any subscribers.
      • Methods inherited from class com.onesignal.common.modeling.ISingletonModelStore

        subscribe, unsubscribe
      • Methods inherited from class java.lang.Object

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

      • replace

         abstract Unit replace(TModel model, String tag)

        Replace the existing model with the new model provided.

        Parameters:
        model - A model that contains all the data for the new effective model.
        tag - The tag which identifies how/why the model is being replaced.
      • getModel

         abstract TModel getModel()

        The model managed by this singleton model store.