NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
v2
conversation
model
V2NIMConversation.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.v2.conversation.model;
2
3
import
com
.
netease
.
nimlib
.
sdk
.
v2
.
conversation
.
enums
.
V2NIMConversationType
;
4
import
java.io.Serializable;
5
import
java.util.List;
6
10
public
interface
V2NIMConversation
extends
Serializable {
16
String
getConversationId
();
17
23
V2NIMConversationType
getType
();
24
36
String
getName
();
37
43
String
getAvatar
();
44
50
boolean
isMute
();
51
57
boolean
isStickTop
();
58
64
List<String>
getGroupIds
();
65
71
String
getLocalExtension
();
72
78
String
getServerExtension
();
79
85
V2NIMLastMessage
getLastMessage
();
86
92
int
getUnreadCount
();
93
99
long
getSortOrder
();
100
106
long
getCreateTime
();
107
113
long
getUpdateTime
();
114
115
}
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation
会话
Definition:
V2NIMConversation.java:10
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getName
String getName()
获取会话名称 根据不同的会话类型显示相应的名称 P2P:显示对方的用户名 好友备注>用户名称>用户ID Team:显...
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.isMute
boolean isMute()
是否免打扰
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease
com
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getSortOrder
long getSortOrder()
会话排序权重
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.isStickTop
boolean isStickTop()
是否置顶
com.netease.nimlib.sdk.v2.conversation.enums
Definition:
V2NIMLastMessageState.java:1
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getConversationId
String getConversationId()
获取会话id
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getGroupIds
List< String > getGroupIds()
获取会话分组id
com.netease.nimlib.sdk.v2.conversation.enums.V2NIMConversationType
会话类型
Definition:
V2NIMConversationType.java:6
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getUnreadCount
int getUnreadCount()
会话的未读消息计数
com.netease.nimlib.sdk.v2
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getAvatar
String getAvatar()
获取会话头像
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getType
V2NIMConversationType getType()
获取会话类型
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getServerExtension
String getServerExtension()
获取服务端扩展信息,最大1024字节
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getLocalExtension
String getLocalExtension()
获取本地扩展信息
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getLastMessage
V2NIMLastMessage getLastMessage()
获取会话中最新的消息
com.netease.nimlib.sdk.v2.conversation
com.netease.nimlib.sdk.v2.conversation.model.V2NIMLastMessage
Definition:
V2NIMLastMessage.java:11
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getUpdateTime
long getUpdateTime()
会话更新时间戳
com.netease.nimlib.sdk.v2.conversation.model.V2NIMConversation.getCreateTime
long getCreateTime()
会话创建时间戳
com.netease.nimlib
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13