customer-android-kotlin

//core/com.kustomer.core.utils/ChatAssistantRulesEngine

ChatAssistantRulesEngine

[androidJvm]
class ChatAssistantRulesEngine(locale: Locale, userAgentString: String)

Constructors

   
ChatAssistantRulesEngine [androidJvm]
fun ChatAssistantRulesEngine(locale: Locale, userAgentString: String)

Functions

Name Summary
getChatAssistantAction [androidJvm]
fun getChatAssistantAction(customer: KusCurrentCustomer?, rules: List<KusAssistantRule>): KusAssistantAction?
Given a customer and list of assistant rules, get the chat assistant action for the first satisfied rule, or nil if no rule is satisfied