Beispiel #1
0
 public void ShowFAQSection(string sectionId, FaqConfig config)
 {
     unity_showFAQSectionConfig(sectionId, config.GetShowConversationMoment(),
                                config.GetConversationConfig().GetConversationIntent(),
                                config.GetConversationConfig().IsAlwaysShowHumanSupportButtonInBotPage(),
                                config.GetConversationConfig().GetStoryNode(),
                                config.GetConversationConfig().GetWelcomeMessage());
 }
Beispiel #2
0
 public void ShowAllFAQSections(FaqConfig config)
 {
     if (!IsHelpCorePrepared())
     {
         return;
     }
     helpCore.ShowAllFAQSections(config);
 }
Beispiel #3
0
 public void ShowSingleFAQ(string faqId, FaqConfig config)
 {
     if (!IsHelpCorePrepared())
     {
         return;
     }
     helpCore.ShowSingleFAQ(faqId, config);
 }
Beispiel #4
0
 public void ShowFAQSection(string sectionId, FaqConfig config)
 {
     if (!IsHelpCorePrepared())
     {
         return;
     }
     helpCore.ShowFAQSection(sectionId, config);
 }
        private AndroidJavaObject getFaqConfig(FaqConfig config)
        {
            AndroidJavaObject builder = new AndroidJavaObject("net.aihelp.config.FaqConfig$Builder");

            return(builder.Call <AndroidJavaObject>("build", config.GetShowConversationMoment(), getSupportConfig(config.GetConversationConfig())));
        }
Beispiel #6
0
 public static void ShowSingleFAQ(string faqId, FaqConfig config)
 {
     AIHelpCore.getInstance().ShowSingleFAQ(faqId, config);
 }
Beispiel #7
0
 public static void ShowFAQSection(string sectionId, FaqConfig config)
 {
     AIHelpCore.getInstance().ShowFAQSection(sectionId, config);
 }
Beispiel #8
0
 public static void ShowAllFAQSections(FaqConfig config)
 {
     AIHelpCore.getInstance().ShowAllFAQSections(config);
 }