XYLiveRoomChatInputView.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // XYLiveRoomChatInputView.h
  3. // Starbuds
  4. //
  5. // Created by pajia on 2020/1/7.
  6. // Copyright © 2020 翟玉磊. All rights reserved.
  7. //
  8. #import "BaseView.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface XYLiveRoomChatInputView : UIView
  11. ///输入完成时回调
  12. @property (nonatomic, copy) void(^XYLiveMessageManagerBlock)(NSDictionary *dataDict);
  13. /// 键盘隐藏回调
  14. @property (nonatomic, copy) void(^XYLiveRoomChatInputViewStatusBlock )(BOOL show , float height);
  15. /// 头条房间点击表情按钮事件
  16. @property (nonatomic, copy) void(^XYLiveRoomChatInputViewEmojiBntBlock)(NSInteger index);
  17. ///@小明
  18. @property (nonatomic, readwrite, strong) NSString *aiteName;
  19. ///aite人id
  20. @property (nonatomic, readwrite, strong) NSString *aiteUserId;
  21. ///房间id
  22. @property (nonatomic, readwrite, strong) NSString *targetId;
  23. ///是否为输入礼物数量弹框
  24. @property (nonatomic, readwrite, assign) BOOL inputGiftNum;//
  25. ///全屏点击隐藏键盘
  26. @property (nonatomic, strong) UIView *hiddenView;
  27. ///文字输入
  28. @property (nonatomic, strong) UITextView *textView;
  29. ///头条房间表情按钮
  30. @property (nonatomic, strong) UIButton *emojiBtn;
  31. ///头条房间余额按钮
  32. @property (nonatomic, strong) UIButton *balanceBtn;
  33. ///头条房间是否为活动
  34. @property (nonatomic, assign) BOOL headLineActivity;//
  35. ///承载hiddenView的视图
  36. @property (nonatomic, readwrite, strong) UIView *showView;
  37. ///语音速配房间隐藏输入框
  38. - (void)quickMatchRoomHide;
  39. - (void)setup;
  40. - (void)clear;
  41. - (void)show;
  42. - (void)hide;
  43. @end
  44. NS_ASSUME_NONNULL_END