public class InviteParamBuilder
extends java.lang.Object
Constructor and Description |
---|
InviteParamBuilder(java.lang.String channelId,
java.lang.String accountId,
java.lang.String requestId)
private boolean offlineEnabled;
|
Modifier and Type | Method and Description |
---|---|
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)
accountId
- peer account ID
For example, use invitee ID for sending invite requests and use inviter ID for decling or accepting invite requestsrequestId
- unique identifier of a request InvitedEvent.getRequestId()
and CanceledInviteEvent.getRequestId()
public InviteParamBuilder customInfo(java.lang.String customInfo)
customInfo
- custom extension field transferred in pass-through modepublic InviteParamBuilder pushConfig(SignallingPushConfig signallingPushConfig)
signallingPushConfig
- push configurationpublic InviteParamBuilder offlineEnabled(boolean offlineEnabled)
offlineEnabled
- Enable or disable offline notifications. The default value is falsepublic InviteParam build()