public void ShowConversation(ConversationConfig config) { if (javaSupport != null && currentActivity != null) { javaSupport.CallStatic("showConversation", getSupportConfig(config)); } }
private AndroidJavaObject getSupportConfig(ConversationConfig config) { AndroidJavaObject builder = new AndroidJavaObject("net.aihelp.config.ConversationConfig$Builder"); return(builder.Call <AndroidJavaObject>("build", config.GetConversationIntent(), config.IsAlwaysShowHumanSupportButtonInBotPage(), config.GetWelcomeMessage(), config.GetStoryNode())); }
public Builder SetConversationConfig(ConversationConfig conversationConfig) { if (conversationConfig != null) { this.conversationConfig = conversationConfig; } return(this); }
public void ShowConversation(ConversationConfig config) { if (!IsHelpCorePrepared()) { return; } helpCore.ShowConversation(config); }
private OperationConfig(int selectIndex, string conversationTitle, ConversationConfig conversationConfig) { this.selectIndex = selectIndex; this.conversationTitle = conversationTitle; this.conversationConfig = conversationConfig; }
public Builder SetConversationConfig(ConversationConfig conversationConfig) { this.conversationConfig = conversationConfig; return(this); }
private FaqConfig(int showConversationMoment, ConversationConfig conversationConfig) { this.showConversationMoment = showConversationMoment; this.conversationConfig = conversationConfig; }
public static void ShowConversation(ConversationConfig config) { AIHelpCore.getInstance().ShowConversation(config); }
public void ShowConversation(ConversationConfig config) { unity_showConversationConfig(config.GetConversationIntent(), config.IsAlwaysShowHumanSupportButtonInBotPage(), config.GetWelcomeMessage(), config.GetStoryNode()); }