NIMSDK-AOS  9.20.10
QChatSubscribeChannelAsVisitorResult.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.result;
2 
5 import java.io.Serializable;
6 import java.util.List;
7 
8 public class QChatSubscribeChannelAsVisitorResult implements Serializable {
9 
10  private final List<QChatChannelIdInfo> failedList;
11 
12  /**
13  *
14  * @param failedList 订阅失败的频道id信息列表
15  */
16  public QChatSubscribeChannelAsVisitorResult(List<QChatChannelIdInfo> failedList) {
17  this.failedList = failedList;
18  }
19 
20  /**
21  * 获取订阅失败的频道id信息列表
22  * @return
23  */
24  public List<QChatChannelIdInfo> getFailedList() {
25  return failedList;
26  }
27 
28  @Override
29  public String toString() {
30  return "QChatSubscribeChannelResult{" +
31  "failedList=" + failedList +
32  '}';
33  }
34 }
List< QChatChannelIdInfo > getFailedList()
获取订阅失败的频道id信息列表