java.lang.Object | |
↳ | com.gsma.services.rcs.chat.ChatMessage |
Chat message
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getChatId()
Returns the chat ID of this chat message.
| ||||||||||
String |
getContent()
Returns the message content
| ||||||||||
RcsService.Direction |
getDirection()
Returns the direction of message
| ||||||||||
String |
getId()
Returns the message ID
| ||||||||||
String |
getMimeType()
Returns the mime type of the chat message.
| ||||||||||
ChatLog.Message.Content.ReasonCode |
getReasonCode()
Returns the reason code of the chat message.
| ||||||||||
ContactId |
getRemoteContact()
Returns the contact
| ||||||||||
ChatLog.Message.Content.Status |
getStatus()
Returns the status of the chat message.
| ||||||||||
long |
getTimestamp()
Returns the local time-stamp of when the chat message was sent and/or queued for outgoing
messages or the local time-stamp of when the chat message was received for incoming messages.
| ||||||||||
long |
getTimestampDelivered()
Returns the local timestamp of when the chat message was delivered for outgoing messages or 0
for incoming messages or it was not yet delivered.
| ||||||||||
long |
getTimestampDisplayed()
Returns the local timestamp of when the chat message was displayed for outgoing messages or 0
for incoming messages or it was not yes displayed.
| ||||||||||
long |
getTimestampSent()
Returns the local time-stamp of when the chat message was sent and/or queued for outgoing
messages or the remote time-stamp of when the chat message was sent for incoming messages.
| ||||||||||
boolean |
isExpiredDelivery()
Returns true if delivery for this chat message has expired or false otherwise.
| ||||||||||
boolean |
isRead()
Returns true is this chat message has been marked as read.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the chat ID of this chat message.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the direction of message
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the mime type of the chat message.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the reason code of the chat message.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the contact
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the status of the chat message.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the local time-stamp of when the chat message was sent and/or queued for outgoing messages or the local time-stamp of when the chat message was received for incoming messages.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the local timestamp of when the chat message was delivered for outgoing messages or 0 for incoming messages or it was not yet delivered.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the local timestamp of when the chat message was displayed for outgoing messages or 0 for incoming messages or it was not yes displayed.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns the local time-stamp of when the chat message was sent and/or queued for outgoing messages or the remote time-stamp of when the chat message was sent for incoming messages.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns true if delivery for this chat message has expired or false otherwise. Note: false means either that delivery for this chat message has not yet expired, delivery has been successful, delivery expiration has been cleared (see clearMessageDeliveryExpiration) or that this particular chat message is not eligible for delivery expiration in the first place.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |
Returns true is this chat message has been marked as read.
RcsPersistentStorageException | |
RcsGenericException | |
RcsPersistentStorageException |