HHDoctorFace.h 852 Bytes
//
//  HHDoctorFace.h
//  HHDoctorFaceSDK
//
//  Created by 程言方 on 2022/2/8.
//

#import <Foundation/Foundation.h>
#import <BDFaceLogicLayer/BDFaceLogicLayer.h>
#import "BDCardInfoService.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, HHAuthStatus) {
    HHAuthStatusSuccess,
    HHAuthStatusIdentifyFail,
    HHAuthStatusAuthenFail,
};

@interface HHDoctorFace : NSObject

@property (strong, nonatomic) BDFaceLogicService *logicService;
@property (copy, nonatomic) NSString *accessToken;
@property (strong, nonatomic) UIViewController *fromeVC;

+ (instancetype)sharedInstance;

+ (void)initWithVC: (UIViewController *)vc callBack: (void(^)(BOOL success)) callBack;

+ (void)startCheckFace: (UIViewController *)vc dict:(NSDictionary *)dict response:(void(^)(HHAuthStatus code, NSString *errorMsg))response;

@end

NS_ASSUME_NONNULL_END