Class MessageDigestInfo
- 
                    
                    - All Implemented Interfaces:
 
 public class MessageDigestInfoMessage Digest Information Class - Since:
- 5.2.5 
- chenjialong 
 
- 
                
                    
                    - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public ConversationTypeconversationTypepublic StringtargetIdpublic StringchannelIdpublic StringmessageUidpublic StringobjectNamepublic longsentTimepublic booleanisMentionAllpublic final static Creator<MessageDigestInfo>CREATOR
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description MessageDigestInfo()MessageDigestInfo(ConversationType conversationType, String targetId, String channelId, String messageUid, long sentTime, boolean isMentionAll)
 - 
                                
                            
                                Method SummaryModifier and Type Method Description ConversationTypegetConversationType()Retrieves the conversation type. voidsetConversationType(ConversationType conversationType)Sets the conversation type. StringgetTargetId()Get the conversation ID. voidsetTargetId(String targetId)Sets the conversation ID. StringgetChannelId()The business identifier of the conversation to which the message belongs. voidsetChannelId(String channelId)Sets the business identifier of the conversation to which the message belongs. StringgetMessageUid()Retrieves the unique message ID from the server (globally unique within the same AppKey). voidsetMessageUid(String messageUid)Sets the server message unique ID (globally unique within the same AppKey). StringgetObjectName()The message type corresponding to messageUid voidsetObjectName(String objectName)Sets the message type, which must match the type of the message corresponding to the messageUid. longgetSentTime()Gets the timestamp of the last message in the conversation (Unix timestamp in milliseconds). voidsetSentTime(long sentTime)Sets the sent time of the last message in the conversation (Unix timestamp, milliseconds). booleanisMentionAll()voidsetMentionAll(boolean mentionAll)StringtoString()intdescribeContents()voidwriteToParcel(Parcel dest, int flags)- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        getConversationTypeConversationType getConversationType() Retrieves the conversation type. - Returns:
- The conversation type. 
 
 - 
                                        setConversationTypevoid setConversationType(ConversationType conversationType) Sets the conversation type. - Parameters:
- conversationType- Specifies the conversation type.
 
 - 
                                        getTargetIdString getTargetId() Get the conversation ID. Depending on the conversationType, it could be a chat ID, discussion group ID, group ID, or chatroom ID. - Returns:
- The conversation ID. 
 
 - 
                                        setTargetIdvoid setTargetId(String targetId) Sets the conversation ID. Depending on the conversationType, this could be a chat ID, discussion group ID, group ID, or chatroom ID. - Parameters:
- targetId- The conversation ID.
 
 - 
                                        getChannelIdString getChannelId() The business identifier of the conversation to which the message belongs. - Returns:
- The business identifier of the conversation to which the message belongs. 
 
 - 
                                        setChannelIdvoid setChannelId(String channelId) Sets the business identifier of the conversation to which the message belongs. - Parameters:
- channelId- The business identifier of the conversation to which the message belongs.
 
 - 
                                        getMessageUidString getMessageUid() Retrieves the unique message ID from the server (globally unique within the same AppKey). - Returns:
- uid The unique message ID from the server (globally unique within the same AppKey). 
 
 - 
                                        setMessageUidvoid setMessageUid(String messageUid) Sets the server message unique ID (globally unique within the same AppKey). - Parameters:
- messageUid- The server message unique ID (globally unique within the same AppKey)
 
 - 
                                        getObjectNameString getObjectName() The message type corresponding to messageUid - Returns:
- objectName The message type 
 
 - 
                                        setObjectNamevoid setObjectName(String objectName) Sets the message type, which must match the type of the message corresponding to the messageUid. - Parameters:
- objectName- The message type
 
 - 
                                        getSentTimelong getSentTime() Gets the timestamp of the last message in the conversation (Unix timestamp in milliseconds). - Returns:
- The timestamp of the last message in the conversation (Unix timestamp in milliseconds). 
 
 - 
                                        setSentTimevoid setSentTime(long sentTime) Sets the sent time of the last message in the conversation (Unix timestamp, milliseconds). - Parameters:
- sentTime- The sent time of the last message in the conversation (Unix timestamp, milliseconds)
 
 - 
                                        isMentionAllboolean isMentionAll() 
 - 
                                        setMentionAllvoid setMentionAll(boolean mentionAll) 
 - 
                                        toStringString toString() 
 - 
                                        describeContentsint describeContents() 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-