- Installation
- Push Notifications
- UI Customization
- API Reference
- .setTabOrder()
- Launcher Button Customization
- Zoho SalesIQ
- Launcher
- Chat
- .Chat.start()
- .Chat.addListener()
- .Chat.startWithTrigger()
- .Chat.setWaitingTime()
- .Chat.get()
- .setLanguage()
- .setDepartment()
- .setOperatorEmail()
- .Chat.setVisibility()
- .showOperatorImageInLauncher()
- .setChatTitle()
- .shouldOpenUrl()
- .showOperatorImageInChat()
- .setLauncherVisibility()
- .setThemeColorforiOS()
- .endChat()
- .showOfflineMessage()
- .setFeedbackVisibility()
- .setRatingVisibility()
- .getChats()
- .getChatsWithFilter()
- .openChat()
- .openChatWithID()
- .endChat()
- .fetchAttenderImage()
- .getDepartments()
- .isMultipleOpenChatRestricted()
- .getChatUnreadCount()
- .isChatEnabled()
- .showFeedbackAfterSkip()
- .hideQueueTime()
- .open()
- Chat Actions
- Visitors
- Notification Icon
- Notification
- Loggers
- Visitor Tracking
- In-App Notification
- Conversation
- Knowledge Base
- FAQ
- Download Sample App
- Release Notes
Launcher.addListener()
The ZohoSalesIQ.Launcher.addListener allows you to register a callback that will be invoked whenever an event regarding the launcher is triggered.
Event | Invoked when |
HANDLE_CUSTOM_LAUNCHER_VISIBILITY | Show/hide your custom launcher with the triggered boolean value. |
Example
Copiedconst { Event } = ZohoSalesIQ.Launcher
ZohoSalesIQ.Launcher.addListener(payload => {
const {event, body} = payload;
switch (event) {
case Event
.HANDLE_CUSTOM_LAUNCHER_VISIBILITY:
// body.visible: boolean;
console.log(body.visible, 'EVENT_HANDLE_CUSTOM_LAUNCHER_VISIBILITY');
break;
default:
break;
}
});
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.