Package com.zopim.android.sdk.data
Class LivechatDepartmentsPath
- java.lang.Object
-
- java.util.Observable
-
- com.zopim.android.sdk.data.Path<java.util.LinkedHashMap<java.lang.String,Department>>
-
- com.zopim.android.sdk.data.LivechatDepartmentsPath
-
- All Implemented Interfaces:
- ObservableTrigger
public class LivechatDepartmentsPath extends Path<java.util.LinkedHashMap<java.lang.String,Department>>
Departments path definitionAllows subscription to department broadcast updates and retrieval of the current department info. If there is nobody to listen this path it will not emit any broadcasts.
- See Also:
Department
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.LinkedHashMap<java.lang.String,Department>
getData()
Gets the path data in it's current statestatic LivechatDepartmentsPath
getInstance()
Gets singleton instance ofLivechatDepartmentsPath
-
Methods inherited from class com.zopim.android.sdk.data.Path
addObserver, broadcast, broadcast, deleteObserver, deleteObservers, finalize, isClearRequired, notifyObservers, trigger
-
-
-
-
Method Detail
-
getInstance
public static LivechatDepartmentsPath getInstance()
Gets singleton instance ofLivechatDepartmentsPath
- Returns:
- department path instance
-
getData
public java.util.LinkedHashMap<java.lang.String,Department> getData()
Description copied from class:Path
Gets the path data in it's current state- Specified by:
getData
in classPath<java.util.LinkedHashMap<java.lang.String,Department>>
- Returns:
- path data pojo object
-
-