//core/com.kustomer.core/KustomerCoreOptions/Builder
[androidJvm]
data class Builder(hostDomain: String? = null, businessScheduleId: String? = null, knowledgeBaseId: String? = null, logLevel: KusLogLevel? = null, chatActiveAssistant: KusActiveAssistant? = null, brandId: String? = null, showAllBrandsConversationHistory: Boolean = false, locale: Locale? = null)
Builder | [androidJvm] fun Builder(hostDomain: String? = null, businessScheduleId: String? = null, knowledgeBaseId: String? = null, logLevel: KusLogLevel? = null, chatActiveAssistant: KusActiveAssistant? = null, brandId: String? = null, showAllBrandsConversationHistory: Boolean = false, locale: Locale? = null) |
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] 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] Override knowledge base Id within the SDK |
setLogLevel | [androidJvm] fun setLogLevel(logLevel: KusLogLevel): KustomerCoreOptions.Builder Override log level for debugging purpose |
setShowAllBrandsConversationHistory | [androidJvm] fun setShowAllBrandsConversationHistory(showAllBrandsConversationHistory: Boolean): KustomerCoreOptions.Builder Show all brands conversation history in inbox (previously default behaviour) |
setUserLocale | [androidJvm] fun setUserLocale(locale: Locale): KustomerCoreOptions.Builder |