public abstract class AgentsTypingObserver extends AgentsObserver
LivechatAgentsPath
observableConstructor and Description |
---|
AgentsTypingObserver(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
update(java.util.Map<java.lang.String,Agent> agents)
Delivers the broadcast from
LivechatAgentsPath observable |
protected abstract void |
updateTyping(java.util.Map<java.lang.String,AgentTyping> agentsTyping)
Delivers the broadcast from
LivechatAgentsPath observable |
update
public AgentsTypingObserver(android.content.Context context)
protected void update(java.util.Map<java.lang.String,Agent> agents)
AgentsObserver
LivechatAgentsPath
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 Activity.runOnUiThread(Runnable)
or Looper.getMainLooper()
.
update
in class AgentsObserver
agents
- and their ID in the current chat sessionprotected abstract void updateTyping(java.util.Map<java.lang.String,AgentTyping> agentsTyping)
LivechatAgentsPath
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
Activity.runOnUiThread(Runnable)
or Looper.getMainLooper()
.
agentsTyping
- and their ID in the current chat session