NIMSDK-AOS
10.5.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
model
QChatChannel.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.model;
2
3
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
enums
.
QChatChannelMode
;
4
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
enums
.
QChatChannelSyncMode
;
5
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
enums
.
QChatChannelType
;
6
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
enums
.
QChatVisitorMode
;
7
import
java.io.Serializable;
8
12
public
interface
QChatChannel
extends
Serializable {
17
long
getChannelId
();
22
long
getServerId
();
27
String
getName
();
32
String
getTopic
();
37
String
getCustom
();
42
QChatChannelType
getType
();
43
48
boolean
isValid
();
53
long
getCreateTime
();
58
long
getUpdateTime
();
59
64
String
getOwner
();
65
70
void
setName
(String name);
71
76
void
setTopic
(String topic);
77
82
void
setCustom
(String custom);
83
88
void
setType
(
QChatChannelType
type);
89
90
95
void
setValid
(
boolean
validFlag);
96
101
QChatChannelMode
getViewMode
();
102
107
void
setViewMode
(
QChatChannelMode
viewMode);
108
113
Long
getCategoryId
();
118
QChatChannelSyncMode
getSyncMode
();
119
124
Long
getReorderWeight
();
125
130
QChatVisitorMode
getVisitorMode
();
131
}
com.netease.nimlib.sdk.qchat.enums.QChatChannelMode
频道查看模式
Definition:
QChatChannelMode.java:6
com.netease.nimlib.sdk.qchat.model.QChatChannel.setTopic
void setTopic(String topic)
设置主题
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease.nimlib.sdk.qchat.model.QChatChannel.getCreateTime
long getCreateTime()
获取创建时间
com.netease
com.netease.nimlib.sdk.qchat.model.QChatChannel.getTopic
String getTopic()
获取主题
com.netease.nimlib.sdk.qchat.model.QChatChannel.getChannelId
long getChannelId()
获取频道id
com.netease.nimlib.sdk.qchat.model.QChatChannel.setViewMode
void setViewMode(QChatChannelMode viewMode)
设置查看模式
com.netease.nimlib.sdk.qchat.model.QChatChannel.getReorderWeight
Long getReorderWeight()
获取自定义排序权重值
com
com.netease.nimlib.sdk.qchat.model.QChatChannel.isValid
boolean isValid()
是否有效
com.netease.nimlib.sdk.qchat.model.QChatChannel.setName
void setName(String name)
设置名称
com.netease.nimlib.sdk.qchat.model.QChatChannel.getCategoryId
Long getCategoryId()
获取频道分组Id
com.netease.nimlib.sdk.qchat.enums.QChatChannelType
频道类型
Definition:
QChatChannelType.java:6
com.netease.nimlib.sdk.qchat.enums.QChatVisitorMode
游客可见模式
Definition:
QChatVisitorMode.java:6
com.netease.nimlib.sdk.qchat.enums.QChatChannelSyncMode
频道同步模式
Definition:
QChatChannelSyncMode.java:6
com.netease.nimlib.sdk.qchat.model.QChatChannel.getUpdateTime
long getUpdateTime()
获取更新时间
com.netease.nimlib.sdk.qchat.model.QChatChannel.getViewMode
QChatChannelMode getViewMode()
获取查看模式
com.netease.nimlib.sdk.qchat.enums
Definition:
QChatPushMsgType.java:1
com.netease.nimlib.sdk.qchat.model.QChatChannel.setType
void setType(QChatChannelType type)
设置Channel类型
com.netease.nimlib.sdk.qchat.model.QChatChannel.setCustom
void setCustom(String custom)
设置自定义扩展
com.netease.nimlib.sdk.qchat.model.QChatChannel.getOwner
String getOwner()
获取所有者
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.model.QChatChannel.getServerId
long getServerId()
获取服务器id
com.netease.nimlib.sdk.qchat.model.QChatChannel.setValid
void setValid(boolean validFlag)
设置有效标志:false-无效,true-有效
com.netease.nimlib.sdk.qchat.model.QChatChannel.getCustom
String getCustom()
获取自定义扩展
com.netease.nimlib.sdk.qchat.model.QChatChannel.getType
QChatChannelType getType()
获取Channel类型
com.netease.nimlib.sdk.qchat.model.QChatChannel.getSyncMode
QChatChannelSyncMode getSyncMode()
获取同步模式
com.netease.nimlib.sdk.qchat.model.QChatChannel.getName
String getName()
获取名称
com.netease.nimlib.sdk.qchat.model.QChatChannel
频道信息
Definition:
QChatChannel.java:12
com.netease.nimlib
com.netease.nimlib.sdk.qchat.model.QChatChannel.getVisitorMode
QChatVisitorMode getVisitorMode()
获取游客
生成于 2024年 十月 15日 星期二 18:40:26 , 为 NIMSDK-AOS使用
1.8.13