java.lang.Object | |
↳ | com.gsma.services.rcs.chat.OneToOneChatListener |
One-to-One Chat event listener
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OneToOneChatListener() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onComposingEvent(ContactId contact, boolean status)
Callback called when an Is-composing event has been received.
| ||||||||||
abstract void |
onMessageStatusChanged(ContactId contact, 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(ContactId contact, Set<String> msgIds)
Callback called when a delete operation completed that resulted in that one or several one to
one chat messages was deleted specified by the msgIds parameter corresponding to a specific
contact.
|
[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.
contact | Contact ID |
---|---|
status | Is-composing status |
Callback called when a message status/reasonCode is changed.
contact | Contact ID |
---|---|
mimeType | MIME-type of message |
msgId | Message Id |
status | Status |
reasonCode | Reason code |
Callback called when a delete operation completed that resulted in that one or several one to one chat messages was deleted specified by the msgIds parameter corresponding to a specific contact.
contact | contact id of those deleted messages |
---|---|
msgIds | message ids of those deleted messages |