@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Interface InteractionViewerAddedEvent

    Emitted when a new viewer joins this interaction.

    The payload identifies the agent who has entered the viewer role. Call Interaction.getViewers to retrieve the updated viewer list.

    interaction.subscribe(InteractionEventType.INTERACTION_VIEWER_ADDED, (event) => {
    console.log("Viewer joined:", event.payload.viewerId);
    });
    interface InteractionViewerAddedEvent {
        type: INTERACTION_VIEWER_ADDED;
        payload: InteractionViewerAddedPayload;
        occurredAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The event type identifier.

    The event payload containing event-specific data.

    occurredAt: Date

    The timestamp when the event occurred.