ZohoSalesIQ.present()
Note: This API is supported from version 9.1.0.
The ZohoSalesIQ.present() API displays the SDK (Conversation or Knowledge Base) according to the parameters provided.
Parameters
- tabBarItem (Optional) - Specify the tab (conversation/knowledge base) to open.
- referenceID (Optional) - Conversation or knowledge base ID is to open when the tab is activated.
- shouldShowListView (Optional) - Indicates whether the list view should be displayed (true) or not (false).
- completion (Optional) - The callback handles the success or failure of displaying the SDK.
Syntax
Copied@objc static public func present(tabBarItem: Any? = nil, referenceID: String? = nil, shouldShowListView: Bool = true, completion: ZSIQResultCompletion? = nil)
Example
Copied ZohoSalesIQ.present(tabBarItem: SIQTabBarComponent.conversation.rawValue, referenceID: "001", shouldShowListView: true) { error, success in
}