public static final class JoinAndAcceptParam.JoinAndAcceptParamBuilder
extends java.lang.Object
构造器和说明 |
---|
JoinAndAcceptParamBuilder(java.lang.String channelId,
java.lang.String accountId,
java.lang.String requestId) |
限定符和类型 | 方法和说明 |
---|---|
JoinAndAcceptParam |
build() |
JoinAndAcceptParam.JoinAndAcceptParamBuilder |
withCustomInfo(java.lang.String customInfo)
指定附加的自定义信息
|
JoinAndAcceptParam.JoinAndAcceptParamBuilder |
withNertcChannelName(java.lang.String nertcChannelName)
指定云信G2-RTC的房间名
|
JoinAndAcceptParam.JoinAndAcceptParamBuilder |
withNertcJoinRoomQueryParamMap(java.lang.String nertcJoinRoomQueryParamMap)
指定云信G2-RTC加入房间的请求参数,可转化为json的字符串
|
JoinAndAcceptParam.JoinAndAcceptParamBuilder |
withNertcTokenTtl(java.lang.Long nertcTokenTtl)
指定云信G2-RTC的token的有效期,单位秒,选填,默认10分钟
|
JoinAndAcceptParam.JoinAndAcceptParamBuilder |
withOfflineEnable(java.lang.Boolean offlineEnable)
指定相应的通知是否存离线
|
JoinAndAcceptParam.JoinAndAcceptParamBuilder |
withSelfUid(java.lang.Long selfUid)
指定自己的uid
|
public JoinAndAcceptParamBuilder(java.lang.String channelId, java.lang.String accountId, java.lang.String requestId)
channelId
- 频道idaccountId
- 对方帐号id。
eg : 邀请与取消邀请时填被邀请人id ,拒绝邀请与接受邀请时填邀请人idrequestId
- 对本次邀请的唯一标识。InvitedEvent.getRequestId()
和CanceledInviteEvent.getRequestId()
public JoinAndAcceptParam.JoinAndAcceptParamBuilder withSelfUid(java.lang.Long selfUid)
public JoinAndAcceptParam.JoinAndAcceptParamBuilder withOfflineEnable(java.lang.Boolean offlineEnable)
public JoinAndAcceptParam.JoinAndAcceptParamBuilder withCustomInfo(java.lang.String customInfo)
public JoinAndAcceptParam.JoinAndAcceptParamBuilder withNertcChannelName(java.lang.String nertcChannelName)
public JoinAndAcceptParam.JoinAndAcceptParamBuilder withNertcTokenTtl(java.lang.Long nertcTokenTtl)
public JoinAndAcceptParam.JoinAndAcceptParamBuilder withNertcJoinRoomQueryParamMap(java.lang.String nertcJoinRoomQueryParamMap)
public JoinAndAcceptParam build()