| java.lang.Object | |
| ↳ | com.salesforce.android.cases.ui.CaseUI |
Initialization API for the Case UI Package.
The CaseUI class acts as a builder for providing a CaseUIClient instance
which will let you launch the Case UIs.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CaseUI |
configure(CaseUIConfiguration uiConfiguration)
Configures the Case UI instance with a
CaseUIConfiguration object. | ||||||||||
| Async<CaseUIClient> |
uiClient()
Creates a
CaseUIClient based on your configuration. | ||||||||||
| static CaseUI |
with(Context context)
Retrieves or creates the singleton Case UI instance
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Configures the Case UI instance with a CaseUIConfiguration object.
This will clear any existing Case UI Client.
| uiConfiguration | A CaseUIConfiguration instance. |
|---|
CaseUI instance for fluent api calls.
Creates a CaseUIClient based on your configuration. This method will throw an
IllegalStateException if called prior to providing a CaseUIConfiguration
via configure(CaseUIConfiguration).
CaseUIClient
instance.
Retrieves or creates the singleton Case UI instance
| context | An application context instance |
|---|
CaseUI instance for fluent api calls.