MBNNNavigatorConfig.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNElectronicHorizonOptions;
  4. @class MBNNIncidentsOptions;
  5. @class MBNNPollingConfig;
  6. NS_SWIFT_NAME(NavigatorConfig)
  7. __attribute__((visibility ("default")))
  8. @interface MBNNNavigatorConfig : NSObject
  9. // This class provides custom init which should be called
  10. - (nonnull instancetype)init NS_UNAVAILABLE;
  11. // This class provides custom init which should be called
  12. + (nonnull instancetype)new NS_UNAVAILABLE;
  13. - (nonnull instancetype)initWithVoiceInstructionThreshold:(nullable NSNumber *)voiceInstructionThreshold
  14. electronicHorizonOptions:(nullable MBNNElectronicHorizonOptions *)electronicHorizonOptions
  15. polling:(nullable MBNNPollingConfig *)polling
  16. incidentsOptions:(nullable MBNNIncidentsOptions *)incidentsOptions
  17. noSignalSimulationEnabled:(nullable NSNumber *)noSignalSimulationEnabled
  18. avoidManeuverSeconds:(nullable NSNumber *)avoidManeuverSeconds
  19. useSensors:(nullable NSNumber *)useSensors;
  20. /**
  21. * The threshold at which we will return a voice instruction after current progress has passed it.
  22. * Pass null to use default value.
  23. */
  24. @property (nonatomic, readwrite, nullable) NSNumber *voiceInstructionThreshold;
  25. @property (nonatomic, readwrite, nullable) MBNNElectronicHorizonOptions *electronicHorizonOptions;
  26. /** configuration of status polling */
  27. @property (nonatomic, readwrite, nullable) MBNNPollingConfig *polling;
  28. /** configuration of Incidents Service */
  29. @property (nonatomic, readwrite, nullable) MBNNIncidentsOptions *incidentsOptions;
  30. /**
  31. * if `true` NN will try to simulate puck movement in case of no signal
  32. * default: `false` for automotive profile, `true` for mobile profile
  33. */
  34. @property (nonatomic, readwrite, nullable) NSNumber *noSignalSimulationEnabled;
  35. /**
  36. * Number of seconds that should pass for safety reasons before any new proposed maneuver.
  37. * This value is used to calcalate safe distance at the moment of request, hence actual timing may
  38. * differ due to e.g. significant current speed change during specified period. See Directions API
  39. * avoid_maneuver_radius parameter for details.
  40. * If unset or set to 0 then new maneuvers are not filtered out on proximity basis.
  41. */
  42. @property (nonatomic, readwrite, nullable) NSNumber *avoidManeuverSeconds;
  43. /**
  44. * Set to `true` to enable features relying on various sensors(accelerometer, gyroscope etc)
  45. * NB: setting it to `true` may break simulation based scenarios, because sensors cannot be mocked at the moment.
  46. * Default: false.
  47. */
  48. @property (nonatomic, readwrite, nullable) NSNumber *useSensors;
  49. @end