# ConversationUnreadInfo

public class ConversationUnreadInfo

会话的未读信息类

## Constructors

ConversationUnreadInfo
Link copied to clipboard
public void ConversationUnreadInfo()

## Properties

channelId
Link copied to clipboard
public String channelId
消息所属会话的业务标识 ID。
CREATOR
Link copied to clipboard
public final static Creator<ConversationUnreadInfo> CREATOR
mentionedCount
Link copied to clipboard
public int mentionedCount
本会话里自己被 @ 的未读消息数
mentionedMeCount
Link copied to clipboard
public int mentionedMeCount
本会话里仅自己被 @ 的未读消息数
pushNotificationLevel
Link copied to clipboard
public IRongCoreEnum.PushNotificationLevel pushNotificationLevel
会话的免打扰状态
targetId
Link copied to clipboard
public String targetId
会话 id。
type
Link copied to clipboard
public ConversationType type
会话 类型。
unreadMessageCount
Link copied to clipboard
public int unreadMessageCount
未读消息数

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getChannelId
Link copied to clipboard
public String getChannelId()
getMentionedCount
Link copied to clipboard
public int getMentionedCount()
获取本会话里自己被 @ 的未读消息数。
getMentionedMeCount
Link copied to clipboard
public int getMentionedMeCount()
获取本会话里仅自己被 @ 的未读消息数。
getPushNotificationLevel
Link copied to clipboard
public IRongCoreEnum.PushNotificationLevel getPushNotificationLevel()
获取会话的免打扰状态。
getTargetId
Link copied to clipboard
public String getTargetId()
getType
Link copied to clipboard
public ConversationType getType()
getUnreadMessageCount
Link copied to clipboard
public int getUnreadMessageCount()
获取未读消息数。
setChannelId
Link copied to clipboard
public void setChannelId(String channelId)
setMentionedCount
Link copied to clipboard
public void setMentionedCount(int count)
设置本会话里自己被 @ 的未读消息数。
setMentionedMeCount
Link copied to clipboard
public void setMentionedMeCount(int count)
设置本会话里仅自己被 @ 的未读消息数。
setPushNotificationLevel
Link copied to clipboard
public void setPushNotificationLevel(IRongCoreEnum.PushNotificationLevel pushNotificationLevel)
设置会话的免打扰状态。
setTargetId
Link copied to clipboard
public void setTargetId(String targetId)
setType
Link copied to clipboard
public void setType(ConversationType type)
setUnreadMessageCount
Link copied to clipboard
public void setUnreadMessageCount(int unreadMessageCount)
设置未读消息数。
toString
Link copied to clipboard
public String toString()
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)