Class ChatLogObserver
- java.lang.Object
-
- com.zopim.android.sdk.data.observers.ChatLogObserver
-
- All Implemented Interfaces:
- java.util.Observer
- Direct Known Subclasses:
- ChatItemsObserver
public abstract class ChatLogObserver extends java.lang.Object implements java.util.Observer
Abstract definition of the observer that listens to broadcasts fromLivechatChatLogPath
observable
-
-
Constructor Summary
Constructors Constructor and Description ChatLogObserver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description protected abstract void
update(java.util.LinkedHashMap<java.lang.String,ChatLog> chatLog)
Delivers the broadcast fromLivechatAgentsPath
observablevoid
update(java.util.Observable observable, java.lang.Object object)
-
-
-
Method Detail
-
update
public final void update(java.util.Observable observable, java.lang.Object object)
- Specified by:
update
in interfacejava.util.Observer
-
update
protected abstract void update(java.util.LinkedHashMap<java.lang.String,ChatLog> chatLog)
Delivers the broadcast fromLivechatAgentsPath
observableThis 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)
orandroid.os.Looper#getMainLooper()
.- Parameters:
chatLog
- and their ID in the current chat session
-
-