public static class ZopimChat.DefaultConfig extends com.zopim.android.sdk.api.ZopimChatApi.DefaultConfig<ZopimChat.DefaultConfig>
Configuration 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.
ZopimChat.SessionConfig
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
department |
protected String |
referrer |
protected String[] |
tags |
protected String |
title |
Constructor and Description |
---|
DefaultConfig() |
Modifier and Type | Method and Description |
---|---|
T |
department(String arg0) |
ZopimChat.DefaultConfig |
emailTranscript(EmailTranscript emailTranscript)
Sets email transcript to the configuration builder.
|
ZopimChat.DefaultConfig |
fileSending(boolean enabled)
Sets filesending support enable/disabled to the configuration builder.
|
ZopimChat.DefaultConfig |
preChatForm(PreChatForm preChatForm)
Sets pre chat form to the configuration builder.
|
T |
tags(String... arg0) |
T |
visitorPathOne(String arg0) |
T |
visitorPathTwo(String arg0) |
protected String department
protected String[] tags
protected String title
protected String referrer
@NonNull public ZopimChat.DefaultConfig preChatForm(PreChatForm preChatForm)
Configuring pre chat form will set the PreChatForm
fields as requirements to the chat instance.
Can be retrieved via PreChatForm
interface as part of the Chat
instance returned by ZopimChat
upon starting a chat.
preChatForm
- to configure pre chat field requirements@NonNull public ZopimChat.DefaultConfig emailTranscript(EmailTranscript emailTranscript)
Configuring email transcript will control the behavior of emailing chat transcript at the end of the chat.
Can be retrieved via EmailTranscript
interface as part of the Chat
instance returned by ZopimChat
upon starting a chat.
emailTranscript
- configurationpublic ZopimChat.DefaultConfig fileSending(boolean enabled)
enabled
- true
to enable file sending, false
to disable file sending.