customer-android-kotlin

//core/com.kustomer.core.providers/KusKbProvider/searchArticles

searchArticles

[androidJvm]
abstract suspend fun searchArticles(term: String, page: Int, pageSize: Int, locale: Locale): KusResult<List<KusKbArticle>>

Returns list of all Knowledge Base Articles matching search term Default knowledgebase id is used if no value is overridden in the Core SDK KustomerCoreOptions.knowledgeBaseId

Note: This is a suspend function and should be called from Kotlin Coroutines

Return

List of KusKbArticle

Parameters

androidJvm

   
term to be searched
page Current page number
pageSize Number of items to be sent in response
locale Device locale