public static class ZopimChat.SessionConfig extends ConfigBuilder<ZopimChat.SessionConfig> implements Serializable
Prepares new chat session config. Provided configuration will apply only to this session.
Once configured call build() to return a ZopimChat
instance to use.
Constructor and Description |
---|
SessionConfig() |
Modifier and Type | Method and Description |
---|---|
Chat |
build(android.support.v4.app.FragmentActivity activity)
Starts the chat session.
|
department, preChatForm, tags, visitorPathOne, visitorPathTwo
public Chat build(android.support.v4.app.FragmentActivity activity)
If session configuration was provided it will apply to this chat session. Otherwise if default configuration is available it will be used to configure this chat session.
It will start a service that represents chat session and will bind to that service. Service connection is managed by ZopimChat.ChatServiceBinder
activity
- that holds the chat session