MergeMusicStaffView.h 797 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // MergeMusicStaffView.h
  3. // KulexiuSchoolStudent
  4. //
  5. // Created by 王智 on 2024/7/25.
  6. //
  7. #import <UIKit/UIKit.h>
  8. typedef void(^StaffPageCallback)(CGFloat pageHeight);
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface MergeMusicStaffView : UIView
  11. @property (nonatomic, assign) BOOL isReady;
  12. + (instancetype)shareIntance;
  13. // backgroundMode video audio
  14. - (void)loadWebViewWithSongID:(NSString *)songID renderType:(NSString *)renderType partIndex:(NSInteger)partIndex backgroundMode:(NSString *)backgroundMode;
  15. - (void)webActionCallback:(StaffPageCallback)callback;
  16. - (void)staffPageStartPlay;
  17. - (void)staffPageStop:(NSTimeInterval)currentProgress;
  18. - (void)updatePlayProgress:(NSTimeInterval)currentProgress;
  19. - (void)updateSliderProgress:(NSTimeInterval)sliderProgress;
  20. @end
  21. NS_ASSUME_NONNULL_END