Emitted when a viewer is removed from an interaction and fully exits the session.
The viewer agent is no longer associated with the interaction. Remove them from the viewer list in the UI.
interaction.subscribe(InteractionEventType.INTERACTION_VIEWER_REMOVED, (event) => { console.log("Viewer removed from interaction:", event.payload.viewerId);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_VIEWER_REMOVED, (event) => { console.log("Viewer removed from interaction:", event.payload.viewerId);});
The event type identifier.
The event payload containing event-specific data.
The timestamp when the event occurred.
Emitted when a viewer is removed from an interaction and fully exits the session.
The viewer agent is no longer associated with the interaction. Remove them from the viewer list in the UI.
Example
See