ISceneObjectSpy | Matterport SDK
Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

A spy allows for spying on events triggered on a component from outside of the component system

Type parameters

  • T

Hierarchy

  • ISceneObjectSpy

Index

Properties

Methods

Properties

Readonly path

The path to spy on

Methods

onEvent

  • onEvent(eventData: T): void
  • Triggered when the data at path changes or when its event is triggered

    Parameters

    • eventData: T

      The data sent with event from a IComponent.notify call or the new value of the input or output referenced by the path.

    Returns void