java.lang.Object | |
↳ | com.salesforce.android.knowledge.ui.KnowledgeUI |
Entry point for initializing a KnowledgeUIClient
and launching the Knowledge UI.
Calling createClient(Context)
will begin the process of initializing a KnowledgeUIClient
.
Once the client has been returned, you may use it to launchHome(Activity)
and interact with Knowledge UI.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static KnowledgeUI |
configure(KnowledgeUIConfiguration configuration)
Configure the Knowledge UI instance with a
KnowledgeUIConfiguration object. | ||||||||||
Async<KnowledgeUIClient> |
createClient(Context context)
Create a
KnowledgeUIClient based on your configuration. | ||||||||||
KnowledgeUI |
viewAddition(KnowledgeViewAddition viewAddition)
Add an addition to the Knowledge UI that will be overlaid above one or more
KnowledgeScene
within Knowledge UI. | ||||||||||
KnowledgeUI |
withCoreClient(KnowledgeClient coreClient)
Provide an optional
KnowledgeClient instance with which to configure a
KnowledgeUIClient . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Configure the Knowledge UI instance with a KnowledgeUIConfiguration
object.
configuration | A KnowledgeUIConfiguration instance. |
---|
Create a KnowledgeUIClient
based on your configuration.
context | A Context instance with which to create the client. |
---|
Async
instance that will asynchronously provide a KnowledgeUIClient
result.
Add an addition to the Knowledge UI that will be overlaid above one or more KnowledgeScene
within Knowledge UI. This method may be invoked multiple times to add multiple
KnowledgeViewAddition
instances.
viewAddition | The KnowledgeViewAddition to add. |
---|
Provide an optional KnowledgeClient
instance with which to configure a
KnowledgeUIClient
. If you do not provide a KnowledgeClient then one will be created for
you based on the configuration passed to configure(KnowledgeUIConfiguration)
.
coreClient | A KnowledgeClient instance |
---|