Class FileSendingObserver

  • All Implemented Interfaces:

    public abstract class FileSendingObserver
    extends java.lang.Object
    implements java.util.Observer
    Abstract definition of the observer that listens to broadcasts from LivechatFileSendingPath observable
    • Constructor Detail

      • FileSendingObserver

        public FileSendingObserver()
    • Method Detail

      • update

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

        protected abstract void update(FileSending fileSending)
        Delivers the broadcast from LivechatFileSendingPath 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 or android.os.Looper#getMainLooper().

        fileSending - of the current chat visitor