java.lang.Object | |||
↳ | com.salesforce.android.service.common.fetchsave.requests.FetchSaveRequest.FetchSaveRequestBuilder<T extends com.salesforce.android.service.common.fetchsave.requests.FetchSaveRequest.FetchSaveRequestBuilder<T>> | ||
↳ | com.salesforce.android.knowledge.core.requests.KnowledgeRequest.KnowledgeRequestBuilder<T extends com.salesforce.android.knowledge.core.requests.KnowledgeRequest.KnowledgeRequestBuilder<T>> | ||
↳ | com.salesforce.android.knowledge.core.requests.ArticleDetailRequest.Builder |
Builder class for an ArticleDetailRequest
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ArticleDetailRequest |
build()
Builds the
ArticleDetailRequest without submitting to to a KnowledgeClient . | ||||||||||
ArticleDetailRequest.Builder |
cacheImages(boolean cacheImages)
Sets whether any image tags in the article's fields should be parsed, downloaded, and cached
for later offline use.
| ||||||||||
Async<ArticleDetails> |
submit(KnowledgeClient client)
Builds an
ArticleDetailRequest and submits it directly to the given KnowledgeClient . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.salesforce.android.service.common.fetchsave.requests.FetchSaveRequest.FetchSaveRequestBuilder
| |||||||||||
From class
java.lang.Object
|
Builds the ArticleDetailRequest
without submitting to to a KnowledgeClient
.
ArticleDetailRequest
.
Sets whether any image tags in the article's fields should be parsed, downloaded, and cached
for later offline use. In order of this caching to occur you must have configured offline
resource caching using
offlineResourceConfig(OfflineResourceConfig)
when configuring the KnowledgeClient
. If offline resource caching is not enabled for
the client then this flag will be ignored. Default is true.
cacheImages | True if images should be cached to disk for this article, false otherwise. |
---|
Builds an ArticleDetailRequest
and submits it directly to the given KnowledgeClient
.
This is a convenience method for client.submit(builder.build());
client | The KnowledgeClient to which to submit the request. |
---|
Async
return value representing the result of the request.