Class NCSensorMeasurement - Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0 GitHub Wiki

NCSensorMeasurement class is used for notifying users about new scanned sensors through [[NCMeasurementListener|Class-NCMeasurementListener].

Referenced from: NCMeasurementManager, NCMeasurementListener.

@interface NCSensorMeasurement : NSObject

@property (nonatomic, readonly) NCSensorType type;

@property (nonatomic, readonly, nonnull) NCVector3d * values;

@end

Public fields

  • type - Type of the sensor, which equals to one of the next enum elements:
    • ACCELEROMETER
    • MAGNETOMETER
    • GYROSCOPE
    • BAROMETER
    • LOCATION
    • ORIENTATION
  • values - values of sensor as vector with 3 params.