public abstract class AgentsObserver extends Object implements Observer
LivechatAgentsPath
observableConstructor and Description |
---|
AgentsObserver() |
Modifier and Type | Method and Description |
---|---|
abstract void |
update(Map<String,Agent> agents)
Delivers the broadcast from
LivechatAgentsPath observable |
void |
update(Observable observable,
Object object) |
public final void update(Observable observable, Object object)
public abstract void update(Map<String,Agent> agents)
LivechatAgentsPath
observable
This broadcast arrives on a non-UI thread.
Keep in mind that if you're need to update 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