Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.
Hierarchy
- ISensorObserver
Index
Methods
Methods
Optional onAdded
-
Called when a the first
reading
is added fromsource
.Parameters
-
source: Sensor.ISource
-
reading: Sensor.SensorReading
-
collection: Map<Sensor.ISource, Sensor.SensorReading>
Returns void
-
Optional onCollectionUpdated
-
Called when a set of changes happens within the
collection
.Parameters
-
collection: Map<Sensor.ISource, Sensor.SensorReading>
Returns void
-
Optional onRemoved
-
Called when
source
and itsreading
is removed.Parameters
-
source: Sensor.ISource
-
reading: Sensor.SensorReading
-
collection: Map<Sensor.ISource, Sensor.SensorReading>
Returns void
-
Optional onUpdated
-
Called when an existing
reading
is altered fromsource
.Parameters
-
source: Sensor.ISource
-
reading: Sensor.SensorReading
-
collection: Map<Sensor.ISource, Sensor.SensorReading>
Returns void
-
A specialized IMapObserver which maps an
ISource
to its currentSensorReading
.