1 package com.netease.nimlib.sdk.avsignalling.model;
8 private final String accountId;
9 private final String requestId;
11 private String channelName;
12 private String channelExt;
14 private Boolean offlineEnable;
15 private String customInfo;
17 private String nertcChannelName;
18 private Long nertcTokenTtl;
19 private String nertcJoinRoomQueryParamMap;
22 this.channelType = channelType;
23 this.accountId = accountId;
24 this.requestId = requestId;
94 return nertcChannelName;
101 return nertcTokenTtl;
108 return nertcJoinRoomQueryParamMap;
111 public static final class CallExParamBuilder {
113 private final String accountId;
114 private final String requestId;
115 private String channelName;
116 private String channelExt;
117 private Long selfUid;
118 private Boolean offlineEnable;
119 private String customInfo;
121 private String nertcChannelName;
122 private Long nertcTokenTtl;
123 private String nertcJoinRoomQueryParamMap;
130 public CallExParamBuilder(
ChannelType channelType, String accountId, String requestId) {
131 this.channelType = channelType;
132 this.accountId = accountId;
133 this.requestId = requestId;
139 public CallExParamBuilder withChannelName(String channelName) {
140 this.channelName = channelName;
147 public CallExParamBuilder withChannelExt(String channelExt) {
148 this.channelExt = channelExt;
155 public CallExParamBuilder withSelfUid(Long selfUid) {
156 this.selfUid = selfUid;
163 public CallExParamBuilder withOfflineEnable(Boolean offlineEnable) {
164 this.offlineEnable = offlineEnable;
171 public CallExParamBuilder withCustomInfo(String customInfo) {
172 this.customInfo = customInfo;
180 this.pushConfig = pushConfig;
187 public CallExParamBuilder withNertcChannelName(String nertcChannelName) {
188 this.nertcChannelName = nertcChannelName;
195 public CallExParamBuilder withNertcTokenTtl(Long nertcTokenTtl) {
196 this.nertcTokenTtl = nertcTokenTtl;
203 public CallExParamBuilder withNertcJoinRoomQueryParamMap(String nertcJoinRoomQueryParamMap) {
204 this.nertcJoinRoomQueryParamMap = nertcJoinRoomQueryParamMap;
210 callExParam.nertcChannelName = this.nertcChannelName;
211 callExParam.channelExt = this.channelExt;
212 callExParam.pushConfig = this.pushConfig;
213 callExParam.channelName = this.channelName;
214 callExParam.customInfo = this.customInfo;
215 callExParam.nertcJoinRoomQueryParamMap = this.nertcJoinRoomQueryParamMap;
216 callExParam.selfUid = this.selfUid;
217 callExParam.offlineEnable = this.offlineEnable;
218 callExParam.nertcTokenTtl = this.nertcTokenTtl;
String getAccountId()
获取对方的accid
String getCustomInfo()
获取邀请者附加的自定义信息,透传给被邀请者
String getChannelExt()
获取频道扩展字段
String getNertcChannelName()
获取云信G2-RTC的房间名
String getNertcJoinRoomQueryParamMap()
获取云信G2-RTC加入房间的请求参数
ChannelType getChannelType()
获取频道类型
Boolean getOfflineEnable()
相应的通知是否存离线
Long getNertcTokenTtl()
获取云信G2-RTC的token的有效期
SignallingPushConfig getPushConfig()
获取推送配置
String getChannelName()
获取频道名
String getRequestId()
获取邀请id
Long getSelfUid()
获取自己的uid