public class CallParamBuilder
extends java.lang.Object
Constructor and Description |
---|
CallParamBuilder(ChannelType channelType,
java.lang.String accountId,
java.lang.String requestId) |
Modifier and Type | Method and Description |
---|---|
DirectCallParam |
build() |
CallParamBuilder |
channelExt(java.lang.String channelExt)
specify a channel extension field
|
CallParamBuilder |
channelName(java.lang.String channelName)
specify a channel name
|
CallParamBuilder |
customInfo(java.lang.String customInfo)
Custom info added by an inviter and transferred in a pass-through mode
|
CallParamBuilder |
offlineEnabled(boolean offlineEnabled)
Enable offline notifications
|
CallParamBuilder |
pushConfig(SignallingPushConfig pushConfig)
Push configuration
|
CallParamBuilder |
selfUid(long selfUid)
Specify a uid.
|
public CallParamBuilder(ChannelType channelType, java.lang.String accountId, java.lang.String requestId)
channelType
- channel typeaccountId
- peer accidrequestId
- request ID. The inviter generates a unique request ID.public CallParamBuilder channelName(java.lang.String channelName)
public CallParamBuilder channelExt(java.lang.String channelExt)
public CallParamBuilder selfUid(long selfUid)
public CallParamBuilder offlineEnabled(boolean offlineEnabled)
public CallParamBuilder customInfo(java.lang.String customInfo)
public CallParamBuilder pushConfig(SignallingPushConfig pushConfig)
public DirectCallParam build()