NIMSDK-AOS  9.16.0
QChatGetChannelCategoriesResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
4 import java.io.Serializable;
5 import java.util.List;
6 
7 public class QChatGetChannelCategoriesResult implements Serializable {
8 
12  private final List<QChatChannelCategory> categories;
13 
14  public QChatGetChannelCategoriesResult(List<QChatChannelCategory> categories) {
15  this.categories = categories;
16  }
17 
22  public List<QChatChannelCategory> getCategories() {
23  return categories;
24  }
25 
26  @Override
27  public String toString() {
28  return "QChatGetChannelCategoriesResult{" +
29  "categories=" + categories +
30  '}';
31  }
32 }
List< QChatChannelCategory > getCategories()
获取查询到的频道分组列表