public static final class CallExParam.CallExParamBuilder
extends java.lang.Object
构造器和说明 |
---|
CallExParamBuilder(ChannelType channelType,
java.lang.String accountId,
java.lang.String requestId) |
限定符和类型 | 方法和说明 |
---|---|
CallExParam |
build() |
CallExParam.CallExParamBuilder |
withChannelExt(java.lang.String channelExt)
指定频道扩展字段
|
CallExParam.CallExParamBuilder |
withChannelName(java.lang.String channelName)
指定频道名
|
CallExParam.CallExParamBuilder |
withCustomInfo(java.lang.String customInfo)
指定邀请者附加的自定义信息,透传给被邀请者
|
CallExParam.CallExParamBuilder |
withNertcChannelName(java.lang.String nertcChannelName)
指定云信G2-RTC的房间名,如果填了该字段,则会返回token
|
CallExParam.CallExParamBuilder |
withNertcJoinRoomQueryParamMap(java.lang.String nertcJoinRoomQueryParamMap)
指定云信G2-RTC加入房间的请求参数,可转化为json的字符串
|
CallExParam.CallExParamBuilder |
withNertcTokenTtl(java.lang.Long nertcTokenTtl)
指定云信G2-RTC的token的有效期,单位秒,选填,默认10分钟
|
CallExParam.CallExParamBuilder |
withOfflineEnable(java.lang.Boolean offlineEnable)
指定相应的通知是否存离线
|
CallExParam.CallExParamBuilder |
withPushConfig(SignallingPushConfig pushConfig)
指定推送配置
|
CallExParam.CallExParamBuilder |
withSelfUid(java.lang.Long selfUid)
指定自己的uid,不指定的话,服务端会自动生成。
|
public CallExParamBuilder(ChannelType channelType, java.lang.String accountId, java.lang.String requestId)
channelType
- 频道类型accountId
- 对方的accidrequestId
- 邀请id ,发起邀请者自行生成(要保证唯一性)public CallExParam.CallExParamBuilder withChannelName(java.lang.String channelName)
public CallExParam.CallExParamBuilder withChannelExt(java.lang.String channelExt)
public CallExParam.CallExParamBuilder withSelfUid(java.lang.Long selfUid)
public CallExParam.CallExParamBuilder withOfflineEnable(java.lang.Boolean offlineEnable)
public CallExParam.CallExParamBuilder withCustomInfo(java.lang.String customInfo)
public CallExParam.CallExParamBuilder withPushConfig(SignallingPushConfig pushConfig)
public CallExParam.CallExParamBuilder withNertcChannelName(java.lang.String nertcChannelName)
public CallExParam.CallExParamBuilder withNertcTokenTtl(java.lang.Long nertcTokenTtl)
public CallExParam.CallExParamBuilder withNertcJoinRoomQueryParamMap(java.lang.String nertcJoinRoomQueryParamMap)
public CallExParam build()