YOUPAILCRequestView.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // YOUPAILCRequestView.h
  3. // LiveChat
  4. //
  5. // Created by 张灿 on 2018/9/17.
  6. // Copyright © 2018年 caicai. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "YOUPAILCVideoChatModel.h"
  10. @protocol LCResquestViewDelegate <NSObject>
  11. - (void)youpaifcloseRequestBtnClick;//未连接上的退出按钮
  12. - (void)youpaifcancelBtnClick;//点击了取消按钮
  13. //- (void)timeOver;//倒计时结束
  14. @end
  15. @interface YOUPAILCRequestView : UIView
  16. - (instancetype)initWithModel:(YOUPAILCVideoChatModel*)callModel;
  17. @property(nonatomic,strong) YOUPAILCVideoChatModel* youpaipcallModel;
  18. @property(nonatomic,strong) dispatch_source_t youpaiptimer;
  19. @property(nonatomic,assign) id<LCResquestViewDelegate> youpaipdelegate;
  20. @property(nonatomic,strong) UILabel* youpaiptimeLabel;
  21. @property(nonatomic,strong) UILabel* youpaiptipLabel;
  22. @property(nonatomic,strong) UIButton* youpaipcancelBtn;
  23. @property(nonatomic,strong) UIButton* youpaipcloseBtn;
  24. @property(nonatomic,strong) UIImageView* youpaipanchorTagImgV;
  25. @property (nonatomic, strong) UIVisualEffectView *effectView; //虚拟层
  26. @property(nonatomic,strong) UIButton *cancelBtn;
  27. @property (nonatomic, strong) UILabel *cancelLab;
  28. - (void)youpaiftimePadding;
  29. @end