NIMSDK-AOS  9.16.0
QChatUpdateMemberRoleParam.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat.param;
2 
3 import androidx.annotation.NonNull;
4 
7 
8 import java.util.Map;
9 
14 
18  @NonNull
19  private final Long serverId;
23  @NonNull
24  private final Long channelId;
28  @NonNull
29  private final String accid;
33  @NonNull
34  private final Map<QChatRoleResource, QChatRoleOption> resourceAuths;
35 
43  public QChatUpdateMemberRoleParam(long serverId, long channelId, @NonNull String accid,
44  @NonNull Map<QChatRoleResource, QChatRoleOption> resourceAuths) {
45  this.serverId = serverId;
46  this.accid = accid;
47  this.channelId = channelId;
48  this.resourceAuths = resourceAuths;
49  }
50 
54  @NonNull
55  public Long getServerId() {
56  return serverId;
57  }
58 
62  @NonNull
63  public Long getChannelId() {
64  return channelId;
65  }
66 
70  @NonNull
71  public String getAccid() {
72  return accid;
73  }
74 
78  @NonNull
79  public Map<QChatRoleResource, QChatRoleOption> getResourceAuths() {
80  return resourceAuths;
81  }
82 }
Map< QChatRoleResource, QChatRoleOption > getResourceAuths()
更新的权限Map
QChatUpdateMemberRoleParam(long serverId, long channelId, @NonNull String accid, @NonNull Map< QChatRoleResource, QChatRoleOption > resourceAuths)