java.lang.Object | |
↳ | com.gsma.services.rcs.chat.GroupChatListener |
Group chat event listener
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GroupChatListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onComposingEvent(String chatId, ContactId contact, boolean status)
Callback called when an Is-composing event has been received.
| ||||||||||
abstract void |
onDeleted(Set<String> chatIds)
Callback called when a delete operation completed that resulted in that one or several group
chats was deleted specified by the chatIds parameter.
| ||||||||||
abstract void |
onMessageGroupDeliveryInfoChanged(String chatId, ContactId contact, String mimeType, String msgId, GroupDeliveryInfo.Status status, GroupDeliveryInfo.ReasonCode reasonCode)
Callback called when a group delivery info status/reasonCode was changed for a single
recipient to a group message.
| ||||||||||
abstract void |
onMessageStatusChanged(String chatId, String mimeType, String msgId, ChatLog.Message.Content.Status status, ChatLog.Message.Content.ReasonCode reasonCode)
Callback called when a message status/reasonCode is changed.
| ||||||||||
abstract void |
onMessagesDeleted(String chatId, Set<String> msgIds)
Callback called when a delete operation completed that resulted in that one or several group
chat messages was deleted specified by the msgIds parameter corresponding to a specific group
chat.
| ||||||||||
abstract void |
onParticipantStatusChanged(String chatId, ContactId contact, GroupChat.ParticipantStatus status)
Callback called when a participant status has been changed in a group chat.
| ||||||||||
abstract void |
onStateChanged(String chatId, GroupChat.State state, GroupChat.ReasonCode reasonCode)
Callback called when the group chat state is changed
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Callback called when an Is-composing event has been received. If the remote is typing a message the status is set to true, else it is false.
chatId | the chat ID |
---|---|
contact | the contact ID |
status | Is-composing status |
Callback called when a delete operation completed that resulted in that one or several group chats was deleted specified by the chatIds parameter.
chatIds | chat ids of those deleted chats |
---|
Callback called when a group delivery info status/reasonCode was changed for a single recipient to a group message.
chatId | chat id |
---|---|
contact | contact |
mimeType | MIME-type |
msgId | message id |
status | message status |
reasonCode | status reason code |
Callback called when a message status/reasonCode is changed.
chatId | chat id |
---|---|
mimeType | MIME-type |
msgId | message id |
status | message status |
reasonCode | reason code |
Callback called when a delete operation completed that resulted in that one or several group chat messages was deleted specified by the msgIds parameter corresponding to a specific group chat.
chatId | chat id of those deleted messages |
---|---|
msgIds | message ids of those deleted messages |
Callback called when a participant status has been changed in a group chat.
chatId | chat id |
---|---|
contact | contact id |
status | participant status |
Callback called when the group chat state is changed
chatId | chat id |
---|---|
state | group chat state |
reasonCode | reason code |