MBNNRouteState.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. // NOLINTNEXTLINE(modernize-use-using)
  4. typedef NS_ENUM(NSInteger, MBNNRouteState)
  5. {
  6. /**
  7. * We have no route.
  8. * All route-related fields(`remainingLegDistance`, `remainingLegDuration`, `stepIndex` etc) are INVALID.
  9. */
  10. MBNNRouteStateInvalid,
  11. /**
  12. * We have initialized route, but haven't started route tracking yet: all route-related fields are valid
  13. * All route-related fields(`remainingLegDistance`, `remainingLegDuration`, `stepIndex` etc) are VALID.
  14. */
  15. MBNNRouteStateInitialized,
  16. /**
  17. * We are on the route: all route-related fields are valid
  18. * All route-related fields(`remainingLegDistance`, `remainingLegDuration`, `stepIndex` etc) are VALID.
  19. */
  20. MBNNRouteStateTracking,
  21. /**
  22. * We've approached to route end: route will be automatically reset (i.e. next `RouteState` is `invalid`)
  23. * All route-related fields(`remainingLegDistance`, `remainingLegDuration`, `stepIndex` etc) are VALID.
  24. */
  25. MBNNRouteStateComplete,
  26. /**
  27. * We've gone of route: route will be automatically reset (i.e. next `RouteState` is `invalid`)
  28. * All route-related fields(`remainingLegDistance`, `remainingLegDuration`, `stepIndex` etc) are INVALID.
  29. */
  30. MBNNRouteStateOffRoute,
  31. /**
  32. * We are probably about to go off-route.
  33. * All route-related fields(`remainingLegDistance`, `remainingLegDuration`, `stepIndex` etc) are VALID.
  34. */
  35. MBNNRouteStateUncertain
  36. } NS_SWIFT_NAME(RouteState);