FAQ centre

Together with our base SDK we provide user interfaces which can be used and customized depending on your individual requirements.

iOS

Present novomind iAGENT Help

This method displays the novomind iAGENT view controller inside a navigation controller with full screen view

presentSearch(parentViewController: UIViewController, animated: Bool = true) -> void
  • parentViewController: parent view controller that will hold the navigation controller of the novomind iAGENT view controller
  • animated: Animated display

Integrate FAQ centre in custom view

If you want to integrate this functionality in your own view you can easily add FAQs via code. IAGENT.sharedInstance.context is a ContextResponse with these properties

contextName: String
displayName: String
subContexts: [ContextResponse]

Using this object you can easily navigate through contexts. If you want to display FAQs based on a context you can do this by calling FAQsApi.start(contextName: String, completionBlock: (faqsResponse:FAQsResponse?, error:String?) ). As FAQResponse you will get an object which holds the question and answers:

id: String
question: String
name: String
priority: String
answers: [String]

Android

Present novomind iAGENT Help

This method displays the novomind iAGENT activity with fullscreen view

public void presentSearch(Context context)

Integrate FAQ centre in custom view

If you want to integrate this functionality in your own view you can easily add FAQs via code. iAGENT.sharedInstance.CONTEXT holds these properties

String contextName
String displayName
ArrayList<CONTEXT> subContexts

If you want to display questions of a certain context, please create a class and implement FAQsApiProtocol. The method void onDataReady(final FAQs faQs) will be triggered and contains the FAQs after you have instantiated the API:

FAQsApi faQsApi = new FAQsApi(this);
faQsApi.start("", "", contextName, "");

You will get the result through protocol method void onDataReady(final FAQs faQs) and faqs.faqs is an array of FAQ with these properties

String question
String priority
String name
String id
String context
ArrayList<String> answers