Package com.zopim.android.sdk.api
Class ZopimChat.SessionConfig
- java.lang.Object
-
- com.zopim.android.sdk.api.ZopimChatApi.SessionConfig<ZopimChat.SessionConfig>
-
- com.zopim.android.sdk.api.ZopimChat.SessionConfig
-
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ZopimChat
public static class ZopimChat.SessionConfig extends ZopimChatApi.SessionConfig<ZopimChat.SessionConfig>
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
ZopimChatinstance 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 Chatbuild(FragmentActivity activity)ZopimChat.SessionConfigdepartment(java.lang.String department)Sets department to the configuration builder.ZopimChat.SessionConfigemailTranscript(EmailTranscript emailTranscript)ZopimChat.SessionConfigfileSending(boolean enabled)ZopimChat.SessionConfigpreChatForm(PreChatForm preChatForm)ZopimChat.SessionConfigtags(java.lang.String... tags)Sets tags to the configuration builder.ZopimChat.SessionConfigvisitorPathOne(java.lang.String visitorPath)Sets visitor path as additional info visible in the Zopim chat dashboard.ZopimChat.SessionConfigvisitorPathTwo(java.lang.String visitorPath)Sets visitor path as additional info visible in the Zopim chat dashboard.
-
-
-
Method Detail
-
department
public ZopimChat.SessionConfig department(java.lang.String department)
Sets department to the configuration builder. Department will be visible in the Zopim chat dashboard.- Overrides:
departmentin classZopimChatApi.SessionConfig<ZopimChat.SessionConfig>- Parameters:
department- name- Returns:
- configuration builder
-
tags
public ZopimChat.SessionConfig tags(java.lang.String... tags)
Sets tags to the configuration builder. Tags will be visible in the Zopim chat dashboard.- Overrides:
tagsin classZopimChatApi.SessionConfig<ZopimChat.SessionConfig>- Parameters:
tags- for the chat- Returns:
- configuration builder
-
visitorPathOne
public ZopimChat.SessionConfig 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.
- Overrides:
visitorPathOnein classZopimChatApi.SessionConfig<ZopimChat.SessionConfig>- Parameters:
visitorPath- as extra info visible on the dashboard- Returns:
- configuration builder
-
visitorPathTwo
public ZopimChat.SessionConfig 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.
- Overrides:
visitorPathTwoin classZopimChatApi.SessionConfig<ZopimChat.SessionConfig>- Parameters:
visitorPath- as extra info visible on the dashboard- Returns:
- configuration builder
-
preChatForm
public ZopimChat.SessionConfig preChatForm(PreChatForm preChatForm)
-
emailTranscript
public ZopimChat.SessionConfig emailTranscript(EmailTranscript emailTranscript)
-
fileSending
public ZopimChat.SessionConfig fileSending(boolean enabled)
-
build
public Chat build(FragmentActivity activity)
- Overrides:
buildin classZopimChatApi.SessionConfig<ZopimChat.SessionConfig>
-
-