MBNNMapMatcherOutput.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNMapMatch;
  4. NS_SWIFT_NAME(MapMatcherOutput)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNMapMatcherOutput : 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)initWithMatches:(nonnull NSArray<MBNNMapMatch *> *)matches
  12. isTeleport:(BOOL)isTeleport;
  13. /**
  14. * Probable user positions on the road graph sorted from the most probable to the least probable.
  15. * If map matcher failed or was not configured will be empty.
  16. */
  17. @property (nonatomic, readonly, nonnull, copy) NSArray<MBNNMapMatch *> *matches;
  18. /**
  19. * Returns true if map matcher changed its opinion about most probable path on last update.
  20. * In practice it means we don't need to animate puck movement from previous to current location
  21. * and just do "teleport".
  22. */
  23. @property (nonatomic, readonly, getter=isIsTeleport) BOOL isTeleport;
  24. @end