PlayMenuView.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // PlayMenuView.h
  3. // XMEye
  4. //
  5. // Created by Levi on 2016/6/22.
  6. // Copyright © 2016年 Megatron. All rights reserved.
  7. //
  8. /******
  9. *
  10. *功能栏界面,包含切换清晰度、云台控制、回放入口等
  11. *
  12. *
  13. */
  14. #import <UIKit/UIKit.h>
  15. @protocol PlayMenuViewDelegate <NSObject>
  16. //显示云台控制
  17. -(void)showPTZControl;
  18. //切换码流
  19. -(void)changeStreamType;
  20. //回放
  21. -(void)presentPlayBackViewController;
  22. @end
  23. @interface PlayMenuView : UIView
  24. //云台控制按钮
  25. @property (nonatomic, strong) UIButton *PTZBtn;
  26. //切换码流按钮
  27. @property (nonatomic, strong) UIButton *streamBtn;
  28. //跳转到回放界面
  29. @property (nonatomic, strong) UIButton *playBackBtn;
  30. //报警按钮
  31. @property (nonatomic, strong) UIButton *alarmBtn;
  32. @property (nonatomic, weak) id <PlayMenuViewDelegate> delegate;
  33. //获取当前app版本语言
  34. @property (nonatomic, strong) NSString *localLanguage;
  35. //切换码流成功后,改变码流按钮状态,0为高清,1位标清
  36. @property (nonatomic, assign) int streamType;
  37. @end