NIMSDK-AOS  9.16.0
QChatCreateChannelCategoryParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
5 
10 
11  private static final String TAG = "QChatCreateChannelCategoryParam";
15  @NonNull
16  private final Long serverId;
20  private String name;
24  private String custom;
28  private QChatChannelMode viewMode;
29 
30 
34  public QChatCreateChannelCategoryParam(long serverId) {
35 
36  this.serverId = serverId;
37  }
38 
39 
44  @NonNull
45  public Long getServerId() {
46  return serverId;
47  }
48 
53  public void setName(String name) {
54  this.name = name;
55  }
56 
61  @NonNull
62  public String getName() {
63  return name;
64  }
65 
66 
71  public void setCustom(String custom) {
72  this.custom = custom;
73  }
74 
79  public String getCustom() {
80  return custom;
81  }
82 
88  return viewMode;
89  }
90 
95  public void setViewMode(QChatChannelMode viewMode) {
96  this.viewMode = viewMode;
97  }
98 }
void setViewMode(QChatChannelMode viewMode)
设置频道查看模式