MBNNActiveGuidanceProgress.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. NS_SWIFT_NAME(ActiveGuidanceProgress)
  4. __attribute__((visibility ("default")))
  5. @interface MBNNActiveGuidanceProgress : NSObject
  6. // This class provides custom init which should be called
  7. - (nonnull instancetype)init NS_UNAVAILABLE;
  8. // This class provides custom init which should be called
  9. + (nonnull instancetype)new NS_UNAVAILABLE;
  10. - (nonnull instancetype)initWithDistanceTraveled:(double)distanceTraveled
  11. fractionTraveled:(double)fractionTraveled
  12. remainingDistance:(double)remainingDistance
  13. remainingDuration:(NSTimeInterval)remainingDuration;
  14. /** How much meters we traveled from the start of route/leg/step */
  15. @property (nonatomic, readonly) double distanceTraveled;
  16. /** Fraction of traveled distance, i.e. `distanceTraveled` / `total route/leg/step distance` */
  17. @property (nonatomic, readonly) double fractionTraveled;
  18. /** remaining distance in meters to the end of route/leg/step */
  19. @property (nonatomic, readonly) double remainingDistance;
  20. /** remaining duration to the end of route/leg/step */
  21. @property (nonatomic, readonly) NSTimeInterval remainingDuration;
  22. @end