SBSystemGestureManager.h 878 B

12345678910111213141516171819202122232425262728
  1. typedef NS_ENUM(int64_t, SBSystemGestureType) {
  2. SBSystemGestureTypeNone,
  3. SBSystemGestureTypeShowNotificationCenter,
  4. SBSystemGestureTypeDismissBanner,
  5. SBSystemGestureTypeShowControlCenter,
  6. SBSystemGestureTypeSuspendApp,
  7. SBSystemGestureTypeSwitcherSlideUp,
  8. SBSystemGestureTypeSwitchApp,
  9. SBSystemGestureTypeSceneResize,
  10. SBSystemGestureTypeSideAppReveal,
  11. SBSystemGestureTypeSideAppGrabberReveal,
  12. SBSystemGestureTypeSideAppGrabberDismiss,
  13. SBSystemGestureTypeSideSwitcherReveal,
  14. SBSystemGestureTypeSideSwitcherGrabberPress,
  15. SBSystemGestureTypeSwitcherForcePress,
  16. SBSystemGestureTypeCarPlayBannerDismiss,
  17. };
  18. @class SBMainDisplaySystemGestureManager;
  19. @interface SBSystemGestureManager : NSObject
  20. + (SBMainDisplaySystemGestureManager *)mainDisplayManager;
  21. - (void)addGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer withType:(SBSystemGestureType)type;
  22. @end