HumanDetectionConfig.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // HumanDetectionConfig.h
  3. // FunSDKDemo
  4. //
  5. // Created by wujiangbo on 2018/12/27.
  6. // Copyright © 2018 wujiangbo. All rights reserved.
  7. //
  8. /******
  9. 人形检测配置
  10. 人形检测能力级、报警、录像、抓图、推送消息开关等配置
  11. *****/
  12. #import <Foundation/Foundation.h>
  13. #import "ConfigControllerBase.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. @protocol HumanDetectionDelegate <NSObject>
  16. @optional
  17. //获取能力级回调信息
  18. - (void)HumanDetectionConfigGetResult:(NSInteger)result;
  19. //设置人形检测开关回调
  20. - (void)HumanDetectionConfigSetResult:(NSInteger)result;
  21. @end
  22. @interface HumanDetectionConfig : ConfigControllerBase
  23. @property (nonatomic, assign) id <HumanDetectionDelegate> delegate;
  24. #pragma mark - 获取人形检测配置
  25. -(void)getHumanDetectConfig;
  26. #pragma mark - 读取人形检测报警功能开关状态
  27. -(int)getHumanDetectEnable;
  28. #pragma mark - 读取人形检测报警录像开关状态
  29. -(int)getHumanDetectRecordEnable;
  30. #pragma mark - 读取人形检测报警抓图开关状态
  31. -(int)getHumanDetectSnapEnable;
  32. #pragma mark - 读取人形检测手机推送开关状态
  33. -(int)getHumanDetectMessageEnable;
  34. #pragma mark - 设置人形检测报警功能开关状态
  35. -(void)setHumanDetectEnable:(int)enable;
  36. #pragma mark - 设置人形检测报警录像开关状态
  37. -(void)setHumanDetectRecordEnable:(int)enable;
  38. #pragma mark - 设置人形检测报警抓图开关状态
  39. -(void)setHumanDetectSnapEnable:(int)enable;
  40. #pragma mark - 设置人形检测手机推送开关状态
  41. -(void)setHumanDetectMessageEnable:(int)enable;
  42. @end
  43. NS_ASSUME_NONNULL_END