MBXLifecycleState_Internal.h 953 B

12345678910111213141516171819202122232425262728
  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, MBXLifecycleState)
  5. {
  6. /** Not available. */
  7. MBXLifecycleStateUnknown,
  8. /** The app is on the way to enter foreground */
  9. MBXLifecycleStateMovingForeground,
  10. /**
  11. * The app's UI is running in the foreground and it's at the top of the
  12. * screen that the user is currently interacting with.
  13. */
  14. MBXLifecycleStateForeground,
  15. /** The app is on the way to background */
  16. MBXLifecycleStateMovingBackground,
  17. /** The app's UI is not visible to the user. */
  18. MBXLifecycleStateBackground,
  19. /**
  20. * The app's UI is visible to the user, but it's out in the focus,
  21. * so it might not receive events.
  22. */
  23. MBXLifecycleStateInactive
  24. } NS_SWIFT_NAME(LifecycleState);
  25. NSString* MBXLifecycleStateToString(MBXLifecycleState lifecycle_state);