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
ZopimChat
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 Chat
build(FragmentActivity activity)
ZopimChat.SessionConfig
department(java.lang.String department)
Sets department to the configuration builder.ZopimChat.SessionConfig
emailTranscript(EmailTranscript emailTranscript)
ZopimChat.SessionConfig
fileSending(boolean enabled)
ZopimChat.SessionConfig
preChatForm(PreChatForm preChatForm)
ZopimChat.SessionConfig
tags(java.lang.String... tags)
Sets tags to the configuration builder.ZopimChat.SessionConfig
visitorPathOne(java.lang.String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.ZopimChat.SessionConfig
visitorPathTwo(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:
department
in 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:
tags
in 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:
visitorPathOne
in 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:
visitorPathTwo
in 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:
build
in classZopimChatApi.SessionConfig<ZopimChat.SessionConfig>
-
-