VideoFileConfig.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // VideoFileConfig.h
  3. // FunSDKDemo
  4. //
  5. // Created by XM on 2018/11/13.
  6. // Copyright © 2018年 XM. All rights reserved.
  7. //
  8. /***
  9. *
  10. *录像查询功能,包括按文件查询、按时间查询、查询一个月内哪些天有录像等等
  11. *录像和图片搜索方式类似,只有其中个别参数不同
  12. *
  13. ******/
  14. #import "Header.h"
  15. @protocol VideoFileConfigDelegate <NSObject>
  16. @optional
  17. //获取录像代理回调
  18. - (void)getVideoResult:(NSInteger)result;
  19. //获取录像时间代理回调
  20. - (void)addTimeDelegate:(NSInteger)add;
  21. @end
  22. #import "ConfigControllerBase.h"
  23. #import "RecordInfo.h"
  24. #import "TimeInfo.h"
  25. #import "VideoContentDefination.h"
  26. @interface VideoFileConfig : ConfigControllerBase
  27. @property (nonatomic, assign) id <VideoFileConfigDelegate> delegate;
  28. #pragma mark - 按文件搜索设备传入这一天的录像
  29. - (void)getDeviceVideoByFile:(NSDate*)date;
  30. #pragma mark - 按时间搜索传入这一天的设备录像
  31. - (void)getDeviceVideoByTime:(NSDate*)date;
  32. #pragma mark - 获取传入日期的这一个月内有录像的日期
  33. - (void)getMonthVideoDate:(NSDate *)date;
  34. #pragma mark - 读取各种请求的结果
  35. - (NSMutableArray *)getVideoFileArray; //获取按文件请求到的录像数组
  36. - (NSMutableArray *)getVideoTimeArray; //获取按时间请求到的录像数组
  37. - (NSMutableArray *)getMonthVideoArray; //获取设备一个月内哪些天有录像的数组
  38. @end