Beispiel #1
0
 public void ShowSingleFAQ(string faqId, FaqConfig config)
 {
     unity_showSingleFAQConfig(faqId, config.GetShowConversationMoment(),
                               config.GetConversationConfig().GetConversationIntent(),
                               config.GetConversationConfig().IsAlwaysShowHumanSupportButtonInBotPage(),
                               config.GetConversationConfig().GetStoryNode(),
                               config.GetConversationConfig().GetWelcomeMessage());
 }
Beispiel #2
0
 public void ShowAllFAQSections(FaqConfig config)
 {
     unity_showAllFAQSectionsConfig(config.GetShowConversationMoment(),
                                    config.GetConversationConfig().GetConversationIntent(),
                                    config.GetConversationConfig().IsAlwaysShowHumanSupportButtonInBotPage(),
                                    config.GetConversationConfig().GetStoryNode(),
                                    config.GetConversationConfig().GetWelcomeMessage());
 }
        private AndroidJavaObject getFaqConfig(FaqConfig config)
        {
            AndroidJavaObject builder = new AndroidJavaObject("net.aihelp.config.FaqConfig$Builder");

            return(builder.Call <AndroidJavaObject>("build", config.GetShowConversationMoment(), getSupportConfig(config.GetConversationConfig())));
        }