ZohoSalesIQ.present()

Note: This API is supported from version 8.0.0.

The ZohoSalesIQ.present() API displays the SDK (Conversation or Knowledge Base) according to the parameters provided.

Parameters

  • tab (Optional) - Specify the tab (conversation/knowledge base) to open.
  • id (Optional) - Conversation or resource ID is to open when the tab is activated. 
  • callback (Optional) - The callback handles the success or failure of displaying the SDK.

 

Syntax

CopiedZohoSalesIQ.present(@Nullable Tab tab, String id, ZohoSalesIQResultCallback<Unit> callback)
CopiedZohoSalesIQ.present(ZohoSalesIQ.Tab.Conversations, "id", result -> {
      if (result.isSuccess()) {
          // Handle success
      } else {
          // Handle error
      }
});
CopiedZohoSalesIQ.present(ZohoSalesIQ.Tab.Conversations, "id") { result ->
      if (result.isSuccess) {
          // Handle success
      } else {
          // Handle error
      }
}