JXVideoCell.h 923 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // JXVideoCell.h
  3. // shiku_im
  4. //
  5. // Created by Apple on 16/10/10.
  6. // Copyright © 2016年 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "JXBaseChatCell.h"
  10. @class JXVideoPlayer;
  11. @protocol JXVideoCellDelegate <NSObject>
  12. - (void)showVideoPlayerWithTag:(NSInteger)tag;
  13. @end
  14. @interface JXVideoCell : JXBaseChatCell{
  15. }
  16. @property (nonatomic,strong) JXImageView * chatImage;
  17. @property (nonatomic, strong) UIButton *pauseBtn;
  18. //@property (nonatomic,assign) UIImage * videoImage;
  19. @property (nonatomic,copy) NSString *oldFileName;
  20. @property (nonatomic, strong) JXVideoPlayer *player;
  21. @property (nonatomic, assign) NSInteger indexTag;
  22. @property (nonatomic, assign) BOOL isEndVideo;
  23. @property (nonatomic, strong) UILabel *videoProgress;
  24. @property (nonatomic, assign) id<JXVideoCellDelegate>videoDelegate;
  25. - (void)timeGo:(NSString *)fileName;
  26. // 看完视频后调用的方法
  27. - (void)deleteMsg;
  28. @end