Package com.zopim.android.sdk.api
Class ZopimChat.DefaultConfig
- java.lang.Object
-
- com.zopim.android.sdk.api.ZopimChatApi.DefaultConfig<ZopimChat.DefaultConfig>
-
- com.zopim.android.sdk.api.ZopimChat.DefaultConfig
-
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ZopimChat
public static class ZopimChat.DefaultConfig extends ZopimChatApi.DefaultConfig<ZopimChat.DefaultConfig>
Configuration class for global chat configurationConfiguration specified here will be applicable to all chat sessions that get started. This configuration can be overridden by a
ZopimChat.SessionConfig
configuration provided when starting a new chat.- See Also:
ZopimChat.SessionConfig
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description protected java.lang.String
department
protected java.lang.String
referrer
protected java.lang.String[]
tags
protected java.lang.String
title
-
Fields inherited from class com.zopim.android.sdk.api.ZopimChatApi.DefaultConfig
disableVisitorInfoStorage, initializationTimeout, reconnectTimeout, sessionTimeout
-
-
Constructor Summary
Constructors Constructor and Description DefaultConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description T
department(java.lang.String department)
Sets department to the configuration builder.ZopimChat.DefaultConfig
emailTranscript(EmailTranscript emailTranscript)
ZopimChat.DefaultConfig
fileSending(boolean enabled)
ZopimChat.DefaultConfig
preChatForm(PreChatForm preChatForm)
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.-
Methods inherited from class com.zopim.android.sdk.api.ZopimChatApi.DefaultConfig
build, disableVisitorInfoStorage, initializationTimeout, reconnectTimeout, sessionTimeout
-
-
-
-
Method Detail
-
preChatForm
public ZopimChat.DefaultConfig preChatForm(PreChatForm preChatForm)
-
emailTranscript
public ZopimChat.DefaultConfig emailTranscript(EmailTranscript emailTranscript)
-
fileSending
public ZopimChat.DefaultConfig fileSending(boolean enabled)
-
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
-
-