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 classCallCall class provides information about call MessagesMethods in com.cometchat.pro.core with parameters of type BaseMessage Modifier and Type Method Description static voidCometChat. editMessage(BaseMessage message, CometChat.CallbackListener<BaseMessage> listener)A method to edit/update a messagestatic voidCometChat. markAsDelivered(BaseMessage message)This method marks the message provided and all the messages prior to that message as delivered for that particular conversationstatic voidCometChat. 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 voidCometChat. markAsRead(BaseMessage message)This method marks the message provided and all the messages prior to that message as read for that particular conversationstatic voidCometChat. 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 conversationvoidCometChat.MessageListener. onMessageDeleted(BaseMessage message)To receive deleted messagevoidCometChat.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 voidCometChat. deleteMessage(int messageId, CometChat.CallbackListener<BaseMessage> listener)A method to delete a messagestatic voidCometChat. editMessage(BaseMessage message, CometChat.CallbackListener<BaseMessage> listener)A method to edit/update a messagevoidMessagesRequest. fetchNext(CometChat.CallbackListener<java.util.List<BaseMessage>> listener)Get list of next message based on the parameters specified inMessagesRequestBuilderclass The Developer need to call this method repeatedly using the same object ofMessagesRequestclass to get paginated list of message.voidMessagesRequest. fetchPrevious(CometChat.CallbackListener<java.util.List<BaseMessage>> listener)Get list of previous message based on the parameters specified inMessagesRequestBuilderclass.static voidCometChat. 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 BaseMessageCometChatHelper. processMessage(JSONObject messageObject)This method helps to convertJSONObjectof the message payload obtained from Push NotificationMethods in com.cometchat.pro.helpers with parameters of type BaseMessage Modifier and Type Method Description static ConversationCometChatHelper. getConversationFromMessage(BaseMessage message) -
Uses of BaseMessage in com.cometchat.pro.models
Subclasses of BaseMessage in com.cometchat.pro.models Modifier and Type Class Description classActionActionclass provides information about the action performedclassCustomMessageCreated by adityagokula on 12/03/19.classMediaMessageCreated by adityagokula on 11/09/18.classTextMessageCreated by adityagokula on 08/09/18.Methods in com.cometchat.pro.models that return BaseMessage Modifier and Type Method Description BaseMessageConversation. 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 voidConversation. setLastMessage(BaseMessage lastMessage)
-