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

An observer that can be subscribed to changes of an IObservable

The object-oriented version of the ObserverCallback

Type parameters

  • DataT

    The type of the data being observed.

Hierarchy

  • IObserver

Index

Methods

Methods

onChanged

  • onChanged(data: DataT): void
  • Called when the data in the IObservable has changed.

    Parameters

    • data: DataT

    Returns void