Skip to content

Class NCSensorMeasurement

Il Kadyrov edited this page Nov 9, 2020 · 1 revision

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.
Clone this wiki locally