MBNNElectronicHorizonOptions.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNAlertsServiceOptions;
  4. NS_SWIFT_NAME(ElectronicHorizonOptions)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNElectronicHorizonOptions : 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)initWithLength:(double)length
  12. doNotRecalculateInUncertainState:(BOOL)doNotRecalculateInUncertainState
  13. minTimeDeltaBetweenUpdates:(nullable NSNumber *)minTimeDeltaBetweenUpdates
  14. alertsService:(nullable MBNNAlertsServiceOptions *)alertsService;
  15. - (nonnull instancetype)initWithLength:(double)length
  16. expansion:(uint8_t)expansion
  17. branchLength:(double)branchLength
  18. doNotRecalculateInUncertainState:(BOOL)doNotRecalculateInUncertainState
  19. minTimeDeltaBetweenUpdates:(nullable NSNumber *)minTimeDeltaBetweenUpdates
  20. alertsService:(nullable MBNNAlertsServiceOptions *)alertsService;
  21. /** The minimum length of the EHorizon ahead of the current position. */
  22. @property (nonatomic, readonly) double length;
  23. /**
  24. * The expansion strategy to be used.
  25. * 0 - means MPP only.
  26. * 1 - means MPP + 2nd level branches.
  27. * 2 - means MPP + 2nd & 3rd level branches.
  28. * Only 0, 1, 2 are usable in terms of performance.
  29. */
  30. @property (nonatomic, readonly) uint8_t expansion;
  31. /** Minimum length of side branches */
  32. @property (nonatomic, readonly) double branchLength;
  33. /**
  34. * if `true` in case of active guidance EH is never re-calculated
  35. * if puck is already not on the route, but we are still in tracking mode
  36. * (i.e. we are uncertain if we are off-route or not)
  37. * default is `true`
  38. */
  39. @property (nonatomic, readonly, getter=isDoNotRecalculateInUncertainState) BOOL doNotRecalculateInUncertainState;
  40. /**
  41. * minimum time which should pass between consecutive
  42. * navigation statuses to update electronic horizon (seconds)
  43. * if null we update electronic horizon on each navigation status
  44. */
  45. @property (nonatomic, readonly, nullable) NSNumber *minTimeDeltaBetweenUpdates;
  46. /** Options for the alerts service (incidents and road objects collection and tracking) */
  47. @property (nonatomic, readonly, nullable) MBNNAlertsServiceOptions *alertsService;
  48. @end