public interface DialogBuilder
Modifier and Type | Interface and Description |
---|---|
static interface |
DialogBuilder.Unconfigured
Represents an unconfigured builder, which requires more information about the dialog
before it can be created.
|
Modifier and Type | Method and Description |
---|---|
DialogActivity |
newDialog()
Creates a new
DialogActivity based on the parameters
supplied to this builder. |
DialogBuilder |
reuseCallID()
If the dialog is being created by
forwarding another dialog,
then this instructs the builder to reuse the original dialog's Call-ID in the new dialog.
|
DialogBuilder |
withCallID(String callID)
The new dialog will use the supplied Call-ID.
|
DialogBuilder |
withLocalTag(String tag)
The new dialog will use the supplied local tag.
|
DialogBuilder |
withSessionTimer(SessionTimerOptions options)
The new dialog will use a session timer with the given options
|
DialogBuilder reuseCallID()
DialogBuilder
DialogBuilder withCallID(String callID)
callID
- a call-ID value, may not be null.DialogBuilder
DialogBuilder withLocalTag(String tag)
tag
- a tag value, may not be null.DialogBuilder
DialogBuilder withSessionTimer(SessionTimerOptions options)
options
- a SessionTimerOptions
value, may not be null.DialogBuilder
DialogActivity newDialog() throws SipException
DialogActivity
based on the parameters
supplied to this builder.DialogActivity
SipException
- if unable to create the dialog activity