//core/com.kustomer.core.providers/KusKbProvider/fetchCategoryById
[androidJvm]
abstract suspend fun fetchCategoryById(categoryId: String, locale: Locale): KusResult<KusKbCategory>
Fetch a category with its immediate child subcategories and articles by Id 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
KusResult of type KusKbCategory
androidJvm
categoryId | Id of the category |
locale | Language of the categories and articles to be fetched in |