- Installation
- Push Notification
- Customization
- Rest API
- API Reference
- Launcher Button Customization
- Zoho SalesIQ
- Launcher
- Conversation
- Chat
- start()
- startWithTrigger()
- setWaitingTime()
- get()
- setTitle()
- setLanguage()
- setDepartment()
- setOperatorEmail()
- setVisibility()
- showOperatorImageInLauncher()
- setVisibility(MbedableComponent)
- showOfflineMessage()
- getList()
- open()
- endSession()
- fetchAttenderImage()
- setListener()
- getDepartments()
- showFeedbackAfterSkip()
- hideQueueTime()
- show()
- Chat Actions
- Calls
- Logger
- Visitor
- Visitor Tracking
- Notification
- Conversation
- Knowledge Base
- FAQ
- SDK 2.x, 3.x
- SDK 1.x
- Download Sample App
- Release Notes
- Additional Features
handleVisitorAttended()
This event handler can be used to invoke a method when the operator picks up the chat initiated by the visitors hitting your website.
PARAMETERS
visitor: Contains information about the chat picked
- Visit Id
- Attendee Email
- Question
Syntax:
CopiedhandleVisitorAttended(VisitorChat visitor)
Example:
Copiedpublic class ChatInterface implements ChatActivityInterface {
@Override
public void handleVisitorAttended(VisitorChat visitor) {
String visitid = visitor.getVisitid();
String attenderEmail = visitor.getAttenderEmail();
String question = visitor.getQuestion();
}
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.