SalesIQFAQListener

The Mobilisten Android SDK provides an interface for various FAQ event callbacks to help developers track different actions related to FAQs like open,close etc., performed by the app user. 'SalesIQFAQListener' would invoke callback methods for various FAQ actions performed by the visitors. You need to follow the steps below to implement the chat event handler:

Step 1:

public class MySalesIQFAQListener implements SalesIQFAQListener

{

    //override methods

}

Step 2:

ZohoSalesIQ.FAQ.setListener(new MySalesIQFAQListener());

MethodInvoked when
handleArticleOpened()The visitor opens an article
handleArticleClosed()The visitor closes an article
handleArticleLiked()The visitor likes an article
handleArticleDisliked()The visitor dislikes an article

 

Example:

Copiedpublic class MySalesIQFAQListener implements SalesIQFAQListener 
{ 
   @Override
   public void handleArticleOpened(String articleId) 
   {
        //your code
    }
    @Override
    public void handleArticleClosed(String articleId) 
   {
	//your code
    }
    @Override
    public void handleArticleLiked(String articleId) 
   {
	//your code
    }
    @Override
    public void handleArticleDisliked(String articleId) 
   {
       //your code
    }
}