public class InviteParamBuilder
extends java.lang.Object
构造器和说明 |
---|
InviteParamBuilder(java.lang.String channelId,
java.lang.String accountId,
java.lang.String requestId) |
限定符和类型 | 方法和说明 |
---|---|
InviteParam |
build() |
InviteParamBuilder |
customInfo(java.lang.String customInfo) |
InviteParamBuilder |
offlineEnabled(boolean offlineEnabled) |
InviteParamBuilder |
pushConfig(SignallingPushConfig signallingPushConfig) |
public InviteParamBuilder(java.lang.String channelId, java.lang.String accountId, java.lang.String requestId)
channelId
- 频道idaccountId
- 对方帐号id。
eg : 邀请与取消邀请时填被邀请人id ,拒绝邀请与接受邀请时填邀请人idrequestId
- 对本次邀请的唯一标识。InvitedEvent.getRequestId()
和CanceledInviteEvent.getRequestId()
public InviteParamBuilder customInfo(java.lang.String customInfo)
customInfo
- 自定义扩展字段,透传给接收方public InviteParamBuilder pushConfig(SignallingPushConfig signallingPushConfig)
signallingPushConfig
- 推送配置 ,仅在发出邀请时有效public InviteParamBuilder offlineEnabled(boolean offlineEnabled)
offlineEnabled
- 相应的通知事件是否存离线 , 默认不离线public InviteParam build()