LiveSeatApplyView.h 651 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // LiveSeatApplyView.h
  3. // KulexiuForTeacher
  4. //
  5. // Created by 王智 on 2022/3/31.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "LiveSeatMember.h"
  9. typedef NS_ENUM(NSInteger, LIVESEATACTION) {
  10. LIVESEATACTION_REJECT, // 拒绝
  11. LIVESEATACTION_APPROVE, // 同意
  12. LIVESEATACTION_KICK, // 将学员抱下麦
  13. };
  14. typedef void(^LiveSeatCallback)(LIVESEATACTION action, LiveSeatMember * _Nonnull member);
  15. NS_ASSUME_NONNULL_BEGIN
  16. @interface LiveSeatApplyView : UIView
  17. + (instancetype)shareInstance;
  18. - (void)refreshSeatApplyTable:(NSArray *)seatMemberArray;
  19. - (void)operationMemberAction:(LiveSeatCallback)callback;
  20. @end
  21. NS_ASSUME_NONNULL_END