setTabOrder()
This API allows you to change the order of the tabs in the SalesIQ SDK inside your mobile app.
Note: By default, the first tab will be conversation and followed by the Knowledge Base.
The enum value for the FAQ has been deprecated in version 6.0.0. Instead, use KNOWLEDGE_BASE
enum value.
Syntax
CopiedZohoSalesIQ.setTabOrder(ZohoSalesIQ.Tab... tabOrder);
Example
CopiedZohoSalesIQ.setTabOrder(ZohoSalesIQ.Tab.KNOWLEDGE_BASE, ZohoSalesIQ.Tab.CONVERSATIONS);
The below snippet allows to set the visibility of tabs in the SalesIQ chat window. If any of the tab's visibility is set as 'false', that tab will be hidden even when mentioned in the setTabOrder API. If the tab's visibility is set as 'true,' then the tab will be shown at the last, even when not mentioned in the setTabOrder API.
CopiedZohoSalesIQ.KnowledgeBase.setVisibility(ZohoSalesIQ.Resource.ARTICLES, true/false);
ZohoSalesIQ.setConversationVisibility(true/false);