public class ComapiChatClient
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ParticipantsListener participantsListener)
Registers listener for changes in participant list in conversations.
|
void |
addListener(ProfileListener profileListener)
Registers listener for changes in profile details.
|
void |
addListener(TypingListener typingListener)
Registers listener for user is typing/finished typing events.
|
Session |
getSession()
Gets the active session data.
|
void |
removeListener(ParticipantsListener participantsListener)
Removes listener for changes in participant list in conversations.
|
void |
removeListener(ProfileListener profileListener)
Removes listener for changes in profile details.
|
void |
removeListener(TypingListener typingListener)
Removes listener for user is typing/finished typing events.
|
com.comapi.chat.RxChatServiceAccessor |
rxService()
Access to reactive Comapi service APIs.
|
ChatServiceAccessor |
service()
Access to Comapi service APIs.
|
public Session getSession()
public com.comapi.chat.RxChatServiceAccessor rxService()
public ChatServiceAccessor service()
public void addListener(ParticipantsListener participantsListener)
participantsListener - Listener for changes in participant list in conversations.public void removeListener(ParticipantsListener participantsListener)
participantsListener - Listener for changes in participant list in conversations.public void addListener(ProfileListener profileListener)
profileListener - Listener for changes in in profile details.public void removeListener(ProfileListener profileListener)
profileListener - Listener for changes in in profile details.public void addListener(TypingListener typingListener)
typingListener - Listener for user is typing/finished typing events.public void removeListener(TypingListener typingListener)
typingListener - Listener for user is typing/finished typing events.