CSJSplashTwistComponentView.h 822 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // BUSplashBottomTwistAnimationMask.h
  3. // CSJAdSDK
  4. //
  5. // Created by Willie on 2021/9/18.
  6. //
  7. #import "CSJSplashBottomBaseComponentView.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef enum : NSUInteger {
  10. BUSplashTwistComponentViewLayoutTypeTwist = 0,
  11. BUSplashTwistComponentViewLayoutTypeTwistAndTap = 1,
  12. } BUSplashTwistComponentViewLayoutType;
  13. @interface CSJSplashTwistComponentView : CSJSplashBottomBaseComponentView
  14. @property (nonatomic, assign) CGFloat twistRotationThreshold;
  15. @property (nonatomic, assign) BUCalculationMethodTwistType calculationMethodTwist;
  16. - (instancetype)initWithComponentConfiguration:(id<CSJSplashBottomViewInterface>)configuration
  17. layoutType:(BUSplashTwistComponentViewLayoutType)layoutType;
  18. - (void)startTwistUpdates;
  19. @end
  20. NS_ASSUME_NONNULL_END