Package io.rong.imlib.model
        Class ConversationUnreadInfo
- 
                    
                    - All Implemented Interfaces:
 
 public class ConversationUnreadInfoUnread information class for conversations 
- 
                
                    
                    - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public ConversationTypetypepublic StringtargetIdpublic StringchannelIdpublic intunreadMessageCountpublic intmentionedCountpublic intmentionedMeCountpublic IRongCoreEnum.PushNotificationLevelpushNotificationLevelpublic final static Creator<ConversationUnreadInfo>CREATOR
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description ConversationUnreadInfo()
 - 
                                
                            
                                Method SummaryModifier and Type Method Description ConversationTypegetType()voidsetType(ConversationType type)StringgetTargetId()voidsetTargetId(String targetId)StringgetChannelId()voidsetChannelId(String channelId)intgetUnreadMessageCount()Retrieves the count of unread messages. voidsetUnreadMessageCount(int unreadMessageCount)Sets the unread message count. intgetMentionedCount()Retrieves the count of unread mentions in the current conversation. voidsetMentionedCount(int count)Sets the count of unread @ messages in this conversation. intgetMentionedMeCount()Retrieves the count of unread messages in this conversation where only you were mentioned. voidsetMentionedMeCount(int count)Sets the count of unread messages where only you are mentioned in this conversation. IRongCoreEnum.PushNotificationLevelgetPushNotificationLevel()Gets the Do Not Disturb status of the conversation. voidsetPushNotificationLevel(IRongCoreEnum.PushNotificationLevel pushNotificationLevel)Set the Do Not Disturb status for a conversation. voidwriteToParcel(Parcel dest, int flags)intdescribeContents()StringtoString()- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        getTypeConversationType getType() 
 - 
                                        setTypevoid setType(ConversationType type) 
 - 
                                        getTargetIdString getTargetId() 
 - 
                                        setTargetIdvoid setTargetId(String targetId) 
 - 
                                        getChannelIdString getChannelId() 
 - 
                                        setChannelIdvoid setChannelId(String channelId) 
 - 
                                        getUnreadMessageCountint getUnreadMessageCount() Retrieves the count of unread messages. - Returns:
- The count of unread messages. 
 
 - 
                                        setUnreadMessageCountvoid setUnreadMessageCount(int unreadMessageCount) Sets the unread message count. - Parameters:
- unreadMessageCount- Indicates the number of unread messages.
 
 - 
                                        getMentionedCountint getMentionedCount() Retrieves the count of unread mentions in the current conversation. - Returns:
- The number of unread mentions 
 
 - 
                                        setMentionedCountvoid setMentionedCount(int count) Sets the count of unread @ messages in this conversation. - Parameters:
- count- The count of unread messages.
 
 - 
                                        getMentionedMeCountint getMentionedMeCount() Retrieves the count of unread messages in this conversation where only you were mentioned. - Returns:
- The number of unread mentions 
 
 - 
                                        setMentionedMeCountvoid setMentionedMeCount(int count) Sets the count of unread messages where only you are mentioned in this conversation. - Parameters:
- count- The number of unread messages.
 
 - 
                                        getPushNotificationLevelIRongCoreEnum.PushNotificationLevel getPushNotificationLevel() Gets the Do Not Disturb status of the conversation. - Returns:
- The Do Not Disturb status of the conversation 
 
 - 
                                        setPushNotificationLevelvoid setPushNotificationLevel(IRongCoreEnum.PushNotificationLevel pushNotificationLevel) Set the Do Not Disturb status for a conversation. 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) 
 - 
                                        describeContentsint describeContents() 
 - 
                                        toStringString toString() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-