1 package com.netease.nimlib.sdk.qchat.param;
3 import androidx.annotation.NonNull;
15 private final Long channelId;
19 private Long categoryId;
29 this.channelId = channelId;
40 this.channelId = channelId;
41 this.categoryId = categoryId;
42 this.syncMode = syncMode;
66 this.categoryId = categoryId;
82 this.syncMode = syncMode;
void setSyncMode(QChatChannelSyncMode syncMode)
设置同步模式
void setCategoryId(Long categoryId)
设置频道分组Id,如果传0表示从频道分组中移除频道
QChatUpdateCategoryInfoOfChannelParam(long channelId)
QChatChannelSyncMode getSyncMode()
获取同步模式
Long getCategoryId()
获取频道分组Id
Long getChannelId()
获取频道ID
QChatUpdateCategoryInfoOfChannelParam(long channelId, Long categoryId, QChatChannelSyncMode syncMode)