VideoRotainConfig.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // VideoRotainConfig.h
  3. // FunSDKDemo
  4. //
  5. // Created by XM on 2018/11/9.
  6. // Copyright © 2018年 XM. All rights reserved.
  7. //
  8. /******
  9. *
  10. * 视频图像翻转功能
  11. *
  12. *
  13. ******/
  14. #import "Header.h"
  15. @protocol VideoRotainConfigDelegate <NSObject>
  16. //获取摄像机参数代理回调
  17. - (void)getVideoRotainConfigResult:(NSInteger)result;
  18. //保存摄像机参数代理回调
  19. - (void)setVideoRotainConfigResult:(NSInteger)result;
  20. @end
  21. #import "ConfigControllerBase.h"
  22. @interface VideoRotainConfig : ConfigControllerBase
  23. @property (nonatomic, assign) id <VideoRotainConfigDelegate> delegate;
  24. #pragma mark - 判断数据有效性
  25. - (BOOL)checkParam;
  26. #pragma mark - 获取设备图像翻转状态
  27. - (void)getRotainConfig;
  28. #pragma mark - 保存摄像机参数状态
  29. - (void)setRotainConfig;
  30. #pragma mark - 读取各项配置的属性值
  31. - (NSString *)getPictureFlip; //获取图像上下翻转状态
  32. - (NSString *)getPictureMirror; //获取图像左右翻转状态
  33. #pragma mark - 设置各项配置的属性值
  34. - (void)setPictureFlip:(NSString*)EnableString; //设置图像上下翻转状态
  35. - (void)setPictureMirror:(NSString*)EnableString; //设置图像左右翻转状态
  36. #pragma mark - 获取图像翻转可以设置的参数
  37. - (NSMutableArray*)getEnableArray;
  38. @end