Package com.zopim.android.sdk.api
Class ZopimChatApi.SessionConfig<T extends ZopimChatApi.SessionConfig>
- java.lang.Object
-
- com.zopim.android.sdk.api.ZopimChatApi.SessionConfig<T>
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ZopimChat.SessionConfig
- Enclosing class:
- ZopimChatApi
public static class ZopimChatApi.SessionConfig<T extends ZopimChatApi.SessionConfig> extends java.lang.Object
Configuration class for session chat configurationPrepares new chat session config. Provided configuration will apply only to this session. Once configured call build() to return a
ZopimChatApi
instance to use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SessionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ChatApi
build(FragmentActivity fragmentActivity)
T
department(java.lang.String department)
Sets department to the configuration builder.T
tags(java.lang.String... tags)
Sets tags to the configuration builder.T
visitorPathOne(java.lang.String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.T
visitorPathTwo(java.lang.String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.
-
-
-
Method Detail
-
department
public T department(java.lang.String department)
Sets department to the configuration builder. Department will be visible in the Zopim chat dashboard.- Parameters:
department
- name- Returns:
- configuration builder
-
tags
public T tags(java.lang.String... tags)
Sets tags to the configuration builder. Tags will be visible in the Zopim chat dashboard.- Parameters:
tags
- for the chat- Returns:
- configuration builder
-
visitorPathOne
public T visitorPathOne(java.lang.String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.Additional information configured in the dashboard used to help identify the origin of the chat.
- Parameters:
visitorPath
- as extra info visible on the dashboard- Returns:
- configuration builder
-
visitorPathTwo
public T visitorPathTwo(java.lang.String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.Additional information configured in the dashboard used to help identify the origin of the chat.
- Parameters:
visitorPath
- as extra info visible on the dashboard- Returns:
- configuration builder
-
build
public ChatApi build(FragmentActivity fragmentActivity)
-
-