public static class ZopimChatApi.SessionConfig<T extends ZopimChatApi.SessionConfig>
extends java.lang.Object
Prepares new chat session config. Provided configuration will apply only to this session.
Once configured call build() to return a ZopimChatApi
instance to use.
Constructor and Description |
---|
SessionConfig() |
Modifier and Type | Method and Description |
---|---|
ChatApi |
build(android.support.v4.app.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.
|
@NonNull public T department(java.lang.String department)
department
- name@NonNull public T tags(java.lang.String... tags)
tags
- for the chat@NonNull public T visitorPathOne(java.lang.String visitorPath)
Additional information configured in the dashboard used to help identify the origin of the chat.
visitorPath
- as extra info visible on the dashboard@NonNull public T visitorPathTwo(java.lang.String visitorPath)
Additional information configured in the dashboard used to help identify the origin of the chat.
visitorPath
- as extra info visible on the dashboard@NonNull public ChatApi build(@NonNull android.support.v4.app.FragmentActivity fragmentActivity)