MBNNRouteRefreshOptions.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBNNRoutingProfile;
  4. NS_SWIFT_NAME(RouteRefreshOptions)
  5. __attribute__((visibility ("default")))
  6. @interface MBNNRouteRefreshOptions : 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)initWithRequestId:(nonnull NSString *)requestId
  12. routeIndex:(uint32_t)routeIndex
  13. legIndex:(uint32_t)legIndex
  14. routingProfile:(nonnull MBNNRoutingProfile *)routingProfile
  15. currentRouteGeometryIndex:(nullable NSNumber *)currentRouteGeometryIndex;
  16. /** A uuid specifying the request containing the route being refreshed */
  17. @property (nonatomic, readonly, nonnull, copy) NSString *requestId;
  18. /** The index of the specified route */
  19. @property (nonatomic, readonly) uint32_t routeIndex;
  20. /** The index of the leg to start the refresh response (inclusive) */
  21. @property (nonatomic, readonly) uint32_t legIndex;
  22. /** The routing profile to use. Possible values are driving-traffic, driving, walking, or cycling with account name */
  23. @property (nonatomic, readonly, nonnull) MBNNRoutingProfile *routingProfile;
  24. /**
  25. * Describes which geometry index the user currently is located at.
  26. * If this is supplied, the refresh-api only returns the segment following this geometry index.
  27. * The index is specified in relation to the `route.geometry` property in the route response.
  28. */
  29. @property (nonatomic, readonly, nullable) NSNumber *currentRouteGeometryIndex;
  30. - (BOOL)isEqualToRouteRefreshOptions:(nonnull MBNNRouteRefreshOptions *)other;
  31. @end