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
readingis 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
sourceand itsreadingis removed.Parameters
-
source: Sensor.ISource
-
reading: Sensor.SensorReading
-
collection: Map<Sensor.ISource, Sensor.SensorReading>
Returns void
-
Optional onUpdated
-
Called when an existing
readingis altered fromsource.Parameters
-
source: Sensor.ISource
-
reading: Sensor.SensorReading
-
collection: Map<Sensor.ISource, Sensor.SensorReading>
Returns void
-
A specialized IMapObserver which maps an
ISourceto its currentSensorReading.