MBNNExperimental.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <MapboxNavigationNative/MBNNADASISv2MessageCallback.h>
  4. #import <MapboxNavigationNative/MBNNGenerateEh360Callback.h>
  5. @class MBNNAdasisConfig;
  6. @class MBNNETCGateInfo;
  7. @class MBNNEdgeAdasAttributes;
  8. /**
  9. * Contains experimental APIs which might change without any deprecation process.
  10. * Also note that this interface will be exposed directly to the end user without any additional
  11. * wrappers from platform side(it is done to speed up delivery of the new features to the end user)
  12. */
  13. NS_SWIFT_NAME(Experimental)
  14. @protocol MBNNExperimental
  15. /**
  16. * Generate electronic horizon 360 asynchronously and call the callback
  17. * NB: callback won't be called on the main thread
  18. */
  19. - (void)generateEh360ForGraphTraversalRadiusInMeters:(double)graphTraversalRadiusInMeters
  20. callback:(nonnull MBNNGenerateEh360Callback)callback;
  21. /**
  22. * Should be called as soon as vehicle passed Electronic Toll Collection(ETC) gate which operates in Japan.
  23. * This information can be used to improve map matching.
  24. * @see https://www.hanshin-exp.co.jp/english/drive/first-time/etc.html
  25. * @param etcGateInfo Information about ETC gate which was just passed by vehicle
  26. */
  27. - (void)updateETCGateInfoForEtcGateInfo:(nonnull MBNNETCGateInfo *)etcGateInfo;
  28. /**
  29. * Caution: Beta feature for ADAS / ADASIS SDK. Method interface may change soon.
  30. *
  31. * Sets a callback for ADASIS messages
  32. */
  33. - (void)setAdasisMessageCallbackForCallback:(nonnull MBNNADASISv2MessageCallback)callback
  34. adasisConfig:(nonnull MBNNAdasisConfig *)adasisConfig;
  35. /** Resets a callback for ADASIS messages */
  36. - (void)resetAdasisMessageCallback;
  37. /**
  38. * Caution: Beta feature that cat be changed soon.
  39. *
  40. * Returns ADAS data for a given Edge.
  41. * If no ADAS data is available, returns null
  42. */
  43. - (nullable MBNNEdgeAdasAttributes *)getAdasAttributesForEdgeId:(uint64_t)edgeId;
  44. @end