public static class ZopimChat.SessionConfig extends Object
Prepares new chat session config. Provided configuration will apply only to this session.
Once configured call build() to return a ZopimChat
instance to use.
Modifier and Type | Field and Description |
---|---|
protected String |
department |
protected String |
referrer |
protected String[] |
tags |
protected String |
title |
Constructor and Description |
---|
SessionConfig() |
Modifier and Type | Method and Description |
---|---|
Chat |
build(android.support.v4.app.FragmentActivity activity) |
T |
department(String arg0) |
ZopimChat.SessionConfig |
emailTranscript(EmailTranscript emailTranscript)
Sets email transcript to the configuration builder.
|
ZopimChat.SessionConfig |
fileSending(boolean enabled)
Sets filesending support enable/disabled to the configuration builder.
|
ZopimChat.SessionConfig |
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.SessionConfig 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.SessionConfig 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.SessionConfig fileSending(boolean enabled)
enabled
- true
to enable file sending, false
to disable file sending.@NonNull public Chat build(android.support.v4.app.FragmentActivity activity)
@NonNull public T department(String arg0)
@NonNull public T tags(String... arg0)
@NonNull public T visitorPathOne(String arg0)
@NonNull public T visitorPathTwo(String arg0)