| java.lang.Object | |
| ↳ | com.salesforce.android.sos.api.Sos.SessionBuilder |
SessionBuilder is used to aid in the construction of an SOS session. The session will begin
with a call to start(Activity).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Sos.SessionBuilder |
configuration(SosConfiguration configuration)
Provide a
SosConfiguration instance for testing
and debug purposes. | ||||||||||
| void |
start(Activity activity)
Begin an SOS session with the parameters that have been provided to this builder.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Provide a SosConfiguration instance for testing
and debug purposes.
| configuration | Testing and debug configuration for the session. |
|---|
Begin an SOS session with the parameters that have been provided to this builder.
| activity | The Activity instance that is starting the session. |
|---|
| IllegalArgumentException | if the supplied options or configuration are invalid. |
|---|---|
| Sos.SessionExistsException | if a session already exists. (Sos.SessionExistsException)
|