customer-android-kotlin

//core/com.kustomer.core.providers/KusKbProvider/fetchRootCategory

fetchRootCategory

[androidJvm]
abstract suspend fun fetchRootCategory(locale: Locale): KusResult<KusKbCategory>

Returns root level categories and articles with in a Knowledgebase 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

KusResult of type KusKbCategory

Parameters

androidJvm

   
locale Language of the categories and articles to be fetched in