public class ChatConfig
extends <any>
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatConfig.ExtHelper |
| Constructor and Description |
|---|
ChatConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected ChatConfig |
getThis() |
ChatConfig |
internalConfig(InternalConfig config)
Sets SDKs new internal configuration.
|
ChatConfig |
participantsListener(ParticipantsListener participantsListener)
Sets conversation participants changes listener.
|
ChatConfig |
profileListener(ProfileListener profileListener)
Sets profile changes listener.
|
<T extends ChatStore> |
store(StoreFactory<T> builder)
Sets builder for
ChatStore db interface that can handle single db transactions. |
ChatConfig |
typingListener(TypingListener typingListener)
Sets participant is typing in a conversation listener.
|
public <T extends ChatStore> ChatConfig store(StoreFactory<T> builder)
ChatStore db interface that can handle single db transactions.T - Generic type of persistance store parent class.builder - Factory class to create ChatStore.public ChatConfig typingListener(TypingListener typingListener)
typingListener - Participant is typing in a conversation listener.public ChatConfig participantsListener(ParticipantsListener participantsListener)
participantsListener - Conversation participants changes listener.public ChatConfig profileListener(ProfileListener profileListener)
profileListener - Profile changes listener.public ChatConfig internalConfig(InternalConfig config)
config - Internal configuration.protected ChatConfig getThis()