APBToygerViewController.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // APFViewController.h
  3. // APFaceDetectBiz
  4. //
  5. // Created by 晗羽 on 8/25/16.
  6. // Copyright © 2016 DTF. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import <ToygerService/ToygerService.h>
  10. #import <BioAuthEngine/DTFFaceViewProtocol.h>
  11. NSString *const kAbnormalClose = @"abnormalclose";
  12. @class APBToygerBaseTask;
  13. @interface APBToygerViewController : UIViewController
  14. @property(nonatomic, strong) DTFLogMonitor *monitor;
  15. @property(nonatomic, strong) id<DTFFaceViewProtocol> faceView;
  16. @property(nonatomic, assign) BOOL isClose;
  17. @property(nonatomic, strong) NSString *platformInfo;
  18. @property(nonatomic, weak) APBToygerBaseTask *baseTask;
  19. - (void)startFaceRecognition:(AVCaptureVideoPreviewLayer *)layer;
  20. - (void)addWebGuideView:(UIView *)guideView;
  21. - (void)handleFaceStateChange:(ToygerMessage)state
  22. stateTips:(NSString *)tips
  23. actionGuide:(NSString *)guide
  24. progress:(CGFloat)progress;
  25. - (void)showLoadingView;
  26. - (void)dismissLoadingView;
  27. - (void)setPhotinusColor:(UIColor *)color;
  28. - (void)showBlur:(UIImage *)image;
  29. @end