洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1 KiB

9 months ago
  1. //
  2. // DTFFaceViewProtocol.h
  3. // BioAuthEngine
  4. //
  5. // Created by mengbingchuan on 2022/8/29.
  6. // Copyright © 2022 DTF. All rights reserved.
  7. //
  8. #import <UIKit/UIkit.h>
  9. #import <AVFoundation/AVFoundation.h>
  10. #import <ToygerService/ToygerFaceFrame.h>
  11. @protocol DTFFaceViewProtocol;
  12. @protocol DTFFaceViewDelegate <NSObject>
  13. - (void)viewExit:(id<DTFFaceViewProtocol>)view;
  14. - (void)playBtn:(UIButton *)btn;
  15. @end
  16. @protocol DTFFaceViewProtocol <NSObject>
  17. @property(nonatomic, weak) id<DTFFaceViewDelegate> delegate;
  18. - (void)setPreviewLayer:(AVCaptureVideoPreviewLayer *)previewLayer;
  19. - (void)setScreenRotation:(BOOL)isRotation;
  20. - (void)setPlayBtnIcon;
  21. - (void)handleFaceStateChange:(ToygerMessage)state
  22. stateTips:(NSString *)tips
  23. actionGuide:(NSString *)guide
  24. progress:(CGFloat)progress;
  25. - (UIView *)view;
  26. @optional
  27. /**
  28. * color View的背景色
  29. */
  30. - (void)setPhotinusColor:(UIColor *)color;
  31. /**
  32. *
  33. */
  34. - (void)setSuitableType:(BOOL)isSuitable;
  35. /**
  36. * image loading
  37. */
  38. - (void)showBlurImage:(UIImage *)image;
  39. @end