Class AgentsTypingObserver
- java.lang.Object
-
- com.zopim.android.sdk.data.observers.AgentsObserver
-
- com.zopim.android.sdk.data.observers.AgentsTypingObserver
-
- All Implemented Interfaces:
- java.util.Observer
public abstract class AgentsTypingObserver extends AgentsObserver
Abstract definition of the observer that listens to typing broadcasts fromLivechatAgentsPathobservable
-
-
Constructor Summary
Constructors Constructor and Description AgentsTypingObserver(Context context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description protected voidupdate(java.util.Map<java.lang.String,Agent> agents)Delivers the broadcast fromLivechatAgentsPathobservableprotected abstract voidupdateTyping(java.util.Map<java.lang.String,AgentTyping> agentsTyping)Delivers the broadcast fromLivechatAgentsPathobservable-
Methods inherited from class com.zopim.android.sdk.data.observers.AgentsObserver
update
-
-
-
-
Method Detail
-
update
protected void update(java.util.Map<java.lang.String,Agent> agents)
Description copied from class:AgentsObserverDelivers the broadcast fromLivechatAgentsPathobservableThis 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().- Specified by:
updatein classAgentsObserver- Parameters:
agents- and their ID in the current chat session
-
updateTyping
protected abstract void updateTyping(java.util.Map<java.lang.String,AgentTyping> agentsTyping)
Delivers the broadcast fromLivechatAgentsPathobservableThis 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:
agentsTyping- and their ID in the current chat session
-
-