MBNNCompassData.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNPoint3d;
  4. NS_SWIFT_NAME(CompassData)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNCompassData : NSObject
  7. // This class provides custom init which should be called
  8. - (nonnull instancetype)init NS_UNAVAILABLE;
  9. // This class provides custom init which should be called
  10. + (nonnull instancetype)new NS_UNAVAILABLE;
  11. - (nonnull instancetype)initWithMagneticHeading:(nullable NSNumber *)magneticHeading
  12. trueHeading:(nullable NSNumber *)trueHeading
  13. headingAccuracy:(nullable NSNumber *)headingAccuracy
  14. rawGeomagneticData:(nonnull MBNNPoint3d *)rawGeomagneticData
  15. monotonicTimestampNanoseconds:(int64_t)monotonicTimestampNanoseconds;
  16. /** direction in degrees, where 0 degrees is magnetic North. Set null if value is invalid/unknown. */
  17. @property (nonatomic, readonly, nullable) NSNumber *magneticHeading;
  18. /** direction in degrees, where 0 degrees is true North. Set null if value is invalid/unknown. */
  19. @property (nonatomic, readonly, nullable) NSNumber *trueHeading;
  20. /** maximum deviation of where the magnetic heading may differ from the actual geomagnetic heading in degrees. Set null if value is invalid/unknown. */
  21. @property (nonatomic, readonly, nullable) NSNumber *headingAccuracy;
  22. /** raw values vector for the geomagnetism(x, y, z). Set empty array if value is invalid/unknown. */
  23. @property (nonatomic, readonly, nonnull) MBNNPoint3d *rawGeomagneticData;
  24. /** monotonic timestamp in nanoseconds */
  25. @property (nonatomic, readonly) int64_t monotonicTimestampNanoseconds;
  26. - (BOOL)isEqualToCompassData:(nonnull MBNNCompassData *)other;
  27. @end