| com.salesforce.android.chat.ui.ChatKnowledgeArticlePreviewDataHelper |
Callback interface for supplying a knowledge article's title and summary for generating a hyperlink preview.
The onPreviewDataRequested(String, ChatKnowledgeArticlePreviewDataHelper) callback may be implemented
using this interface and then passed to the ChatUI client via the
knowledgeArticlePreviewDataProvider(ChatKnowledgeArticlePreviewDataProvider)
builder.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onPreviewDataReceived(String title, String summary)
Knowledge hyperlink preview provider callback for the knowledge article linked in the chat-feed.
| ||||||||||
Knowledge hyperlink preview provider callback for the knowledge article linked in the chat-feed.
| title | The title or main heading for the article. |
|---|---|
| summary | The summary or short synopsis for the article. |