java.lang.Object | |
↳ | com.salesforce.android.knowledge.ui.KnowledgeUIConfiguration |
Configuration class used in the creation of a KnowledgeUIClient
instance via KnowledgeUI
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static KnowledgeUIConfiguration |
create(KnowledgeConfiguration knowledgeConfiguration, String dataCategoryGroupName, String rootDataCategory)
Create a new Knowledge UI Configuration instance by providing a
KnowledgeConfiguration
instance and a Root Data Category. | ||||||||||
KnowledgeConfiguration | getCoreConfiguration() | ||||||||||
KnowledgeCssProvider |
getCssProvider()
Retrieve the
KnowledgeCssProvider instance, if any, that is used to provide CSS to
Knowledge articles. | ||||||||||
String |
getDataCategoryGroupName()
Retrieve the name of the
DataCategoryGroup
that is being browsed by this instance of Knowledge UI. | ||||||||||
KnowledgeImageProvider |
getImageProvider()
Retrieve the
KnowledgeImageProvider instance, if any, that is used to provide hero images
to Knowledge UI for categories and articles. | ||||||||||
KnowledgeJsProvider |
getJsProvider()
Retrieve the
KnowledgeJsProvider instance, if any, that is used to provide
JavaScript to Knowledge articles. | ||||||||||
String |
getRootDataCategory()
Retrieve the root data category that is used as the top-level category when viewing
SCENE_HOME . | ||||||||||
KnowledgeUIConfiguration |
setCssProvider(KnowledgeCssProvider cssProvider)
Provide an optional
KnowledgeCssProvider instance for loading custom CSS into Knowledge
articles as they are displayed to the user. | ||||||||||
KnowledgeUIConfiguration |
setImageProvider(KnowledgeImageProvider imageProvider)
Provide an optional
KnowledgeImageProvider instance for loading custom images into the
Knowledge UI. | ||||||||||
KnowledgeUIConfiguration |
setJsProvider(KnowledgeJsProvider jsProvider)
Provide an optional
KnowledgeJsProvider instance for loading custom JavaScript
into Knowledge articles as they are displayed to the user. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a new Knowledge UI Configuration instance by providing a KnowledgeConfiguration
instance and a Root Data Category.
knowledgeConfiguration | A KnowledgeConfiguration instance. |
---|---|
dataCategoryGroupName | The data category group in which the root data category resides. |
rootDataCategory | The Root Data Category that will populate the Home screen. |
configure(KnowledgeUIConfiguration)
.
Retrieve the KnowledgeCssProvider
instance, if any, that is used to provide CSS to
Knowledge articles.
KnowledgeCssProvider
, or null if none was provided.
Retrieve the name of the DataCategoryGroup
that is being browsed by this instance of Knowledge UI.
Retrieve the KnowledgeImageProvider
instance, if any, that is used to provide hero images
to Knowledge UI for categories and articles.
Retrieve the KnowledgeJsProvider
instance, if any, that is used to provide
JavaScript to Knowledge articles.
KnowledgeJsProvider
, or null if none was provided.
Retrieve the root data category that is used as the top-level category when viewing
SCENE_HOME
. The immediate children of this category are shown when
Knowledge UI is launched to the home scene.
Provide an optional KnowledgeCssProvider
instance for loading custom CSS into Knowledge
articles as they are displayed to the user.
cssProvider | A KnowledgeCssProvider instance. |
---|
KnowledgeUIConfiguration
instance for syntax chaining.
Provide an optional KnowledgeImageProvider
instance for loading custom images into the
Knowledge UI.
imageProvider | An KnowledgeImageProvider instance. |
---|
KnowledgeUIConfiguration
instance for syntax chaining.
Provide an optional KnowledgeJsProvider
instance for loading custom JavaScript
into Knowledge articles as they are displayed to the user.
jsProvider | A KnowledgeJsProvider instance. |
---|
KnowledgeUIConfiguration
instance for syntax chaining.