public abstract class AgentsObserver
extends java.lang.Object
implements java.util.Observer
LivechatAgentsPath
observableConstructor and Description |
---|
AgentsObserver() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
update(java.util.Map<java.lang.String,Agent> agents)
Delivers the broadcast from
LivechatAgentsPath observable |
void |
update(java.util.Observable observable,
java.lang.Object object) |
public final void update(java.util.Observable observable, java.lang.Object object)
update
in interface java.util.Observer
protected abstract void update(java.util.Map<java.lang.String,Agent> agents)
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()
.
agents
- and their ID in the current chat session