Interface MessageStoreObserver


  • public interface MessageStoreObserver
    An implementation of this interface can be registered with a Message store instance to receive Message store update update events. When ever a message is added/removed events defined in this interface will be fired
    • Method Detail

      • messageAdded

        void messageAdded​(String messageId)
        Method invoked when a message is added to the store
        Parameters:
        messageId - of the message that was added to the Message store
      • messageRemoved

        void messageRemoved​(String messageId)
        Method invoked when a message is removed from the store
        Parameters:
        messageId - of the Message that was removed