Class ChattingStatusObserver

    • Constructor Detail

      • ChattingStatusObserver

        public ChattingStatusObserver()
    • Method Detail

      • update

        public void update(java.util.Observable observable,
                           java.lang.Object object)
        Specified by:
        update in interface java.util.Observer
      • update

        protected abstract void update(ChattingStatus chattingStatus)
        Delivers the broadcast from LivechatChattingStatusPath observable.

        This broadcast arrives on a non-UI thread. Keep in mind that if updating UI elements you need to do so on the main thread using android.app.Activity#runOnUiThread(Runnable) or android.os.Looper#getMainLooper().

        Parameters:
        chattingStatus - The current chatting status