customer-android-kotlin

//core/com.kustomer.core/KustomerCoreOptions/Builder

Builder

[androidJvm]
data class Builder(hostDomain: String? = null, businessScheduleId: String? = null, knowledgeBaseId: String? = null, logLevel: Int? = null, chatActiveAssistant: KusActiveAssistant? = null, brandId: String? = null, locale: Locale? = null)

Constructors

   
Builder [androidJvm]
fun Builder(hostDomain: String? = null, businessScheduleId: String? = null, knowledgeBaseId: String? = null, logLevel: Int? = null, chatActiveAssistant: KusActiveAssistant? = null, brandId: String? = null, locale: Locale? = null)

Functions

Name Summary
build [androidJvm]
fun build(): KustomerCoreOptions
setBrandId [androidJvm]
fun setBrandId(brandId: String): KustomerCoreOptions.Builder
Override brand base Id within the SDK
setBusinessScheduleId [androidJvm]
fun setBusinessScheduleId(businessScheduleId: String): KustomerCoreOptions.Builder
Override business schedule within the SDK
setChatAssistant [androidJvm]
fun setChatAssistant(chatActiveAssistant: KusActiveAssistant?): KustomerCoreOptions.Builder
Pass in Chat Assistant to be used while creating every new conversation
setChatAssistantId [androidJvm]
fun setChatAssistantId(assistantId: String): KustomerCoreOptions.Builder
Pass in Chat Assistant Id to be used while creating every new conversation
setHostDomain [androidJvm]
fun setHostDomain(hostDomain: String): KustomerCoreOptions.Builder
Override host domain i.e. api base url. To be called when connecting to a different environment other than Production
setKnowledgeBaseId [androidJvm]
fun setKnowledgeBaseId(knowledgeBaseId: String): KustomerCoreOptions.Builder
Override knowledge base Id within the SDK
setLogLevel [androidJvm]
fun setLogLevel(logLevel: Int): KustomerCoreOptions.Builder
Override log level for debugging purpose
setUserLocale [androidJvm]
fun setUserLocale(locale: Locale): KustomerCoreOptions.Builder