Uses of Class
com.cometchat.pro.models.BaseMessage
-
Packages that use BaseMessage Package Description com.cometchat.pro.core com.cometchat.pro.helpers com.cometchat.pro.models -
-
Uses of BaseMessage in com.cometchat.pro.core
Subclasses of BaseMessage in com.cometchat.pro.core Modifier and Type Class Description class
Call
Call class provides information about call MessagesMethods in com.cometchat.pro.core with parameters of type BaseMessage Modifier and Type Method Description static void
CometChat. editMessage(BaseMessage message, CometChat.CallbackListener<BaseMessage> listener)
A method to edit/update a messagestatic void
CometChat. markAsDelivered(BaseMessage message)
This method marks the message provided and all the messages prior to that message as delivered for that particular conversationstatic void
CometChat. markAsDelivered(BaseMessage message, CometChat.CallbackListener<java.lang.Void> listener)
This method marks the message provided and all the messages prior to that message as delivered for that particular conversationstatic void
CometChat. markAsRead(BaseMessage message)
This method marks the message provided and all the messages prior to that message as read for that particular conversationstatic void
CometChat. markAsRead(BaseMessage message, CometChat.CallbackListener<java.lang.Void> listener)
This method marks the message provided and all the messages prior to that message as read for that particular conversationvoid
CometChat.MessageListener. onMessageDeleted(BaseMessage message)
To receive deleted messagevoid
CometChat.MessageListener. onMessageEdited(BaseMessage message)
To receive edited/updated messageMethod parameters in com.cometchat.pro.core with type arguments of type BaseMessage Modifier and Type Method Description static void
CometChat. deleteMessage(int messageId, CometChat.CallbackListener<BaseMessage> listener)
A method to delete a messagestatic void
CometChat. editMessage(BaseMessage message, CometChat.CallbackListener<BaseMessage> listener)
A method to edit/update a messagevoid
MessagesRequest. fetchNext(CometChat.CallbackListener<java.util.List<BaseMessage>> listener)
Get list of next message based on the parameters specified inMessagesRequestBuilder
class The Developer need to call this method repeatedly using the same object of
MessagesRequest
class to get paginated list of message.
void
MessagesRequest. fetchPrevious(CometChat.CallbackListener<java.util.List<BaseMessage>> listener)
Get list of previous message based on the parameters specified inMessagesRequestBuilder
class.
static void
CometChat. getMessageDetails(int messageId, CometChat.CallbackListener<BaseMessage> listener)
This method get information of a single message based on the ID provided -
Uses of BaseMessage in com.cometchat.pro.helpers
Methods in com.cometchat.pro.helpers that return BaseMessage Modifier and Type Method Description static BaseMessage
CometChatHelper. processMessage(JSONObject messageObject)
This method helps to convertJSONObject
of the message payload obtained from Push Notification
Methods in com.cometchat.pro.helpers with parameters of type BaseMessage Modifier and Type Method Description static Conversation
CometChatHelper. getConversationFromMessage(BaseMessage message)
-
Uses of BaseMessage in com.cometchat.pro.models
Subclasses of BaseMessage in com.cometchat.pro.models Modifier and Type Class Description class
Action
Action
class provides information about the action performed
class
CustomMessage
Created by adityagokula on 12/03/19.class
MediaMessage
Created by adityagokula on 11/09/18.class
TextMessage
Created by adityagokula on 08/09/18.Methods in com.cometchat.pro.models that return BaseMessage Modifier and Type Method Description BaseMessage
Conversation. getLastMessage()
Methods in com.cometchat.pro.models that return types with arguments of type BaseMessage Modifier and Type Method Description static java.util.List<BaseMessage>
BaseMessage. getMessagesFromJSON(java.lang.String json)
Methods in com.cometchat.pro.models with parameters of type BaseMessage Modifier and Type Method Description void
Conversation. setLastMessage(BaseMessage lastMessage)
-