public interface SystemMessageObserver
Modifier and Type | Method and Description |
---|---|
void |
observeReceiveSystemMsg(Observer<SystemMessage> observer,
boolean register)
Register or unregister the observer for receiving system messages
|
void |
observeUnreadCountChange(Observer<java.lang.Integer> observer,
boolean register)
Register or unregister the observer for changes of unread count of system messages
|
void observeReceiveSystemMsg(Observer<SystemMessage> observer, boolean register)
observer
- The observer. The parameter is the received system message.register
- true: register the observer; false: unregister the observer.void observeUnreadCountChange(Observer<java.lang.Integer> observer, boolean register)
observer
- The observer. The parameter is the unread count of system messages.register
- true: register the observer; false: unregister the observer.