feat:引入人脸识别sdk
This commit is contained in:
1 parent
ce16eaf82e
commit
158d012eff
331 files changed
+13539
No files matched your search
+40
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// DTFLanguageManager.h
|
||||
// DTFUtility
|
||||
//
|
||||
// Created by 汪澌哲 on 2023/8/3.
|
||||
// Copyright © 2023 com.alipay.iphoneclient.zoloz. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
typedef void (^DTFLanguageDownloadCompletionBlock)(NSError * _Nullable error);
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface DTFLanguageManager : NSObject
|
||||
|
||||
@property (nonatomic, strong)NSString *ocrResultStr;
|
||||
@property (nonatomic, strong)NSString *languageType;
|
||||
|
||||
+ (instancetype)sharedInstance;
|
||||
|
||||
- (BOOL)checkNeedPreload;
|
||||
- (BOOL)checkUpdateDocWithVersion:(NSString *)version;
|
||||
- (BOOL)checkUpdateFaceWithVersion:(NSString *)version;
|
||||
- (BOOL)checkUpdateGuideWithVersion:(NSString *)version;
|
||||
- (void)startFaceDownloadWithCompletion:(DTFLanguageDownloadCompletionBlock)completion;
|
||||
- (void)startDocDownloadWithCompletion:(DTFLanguageDownloadCompletionBlock)completion;
|
||||
- (void)startGuideDownloadWithCompletion:(DTFLanguageDownloadCompletionBlock)completion;
|
||||
- (NSString *)getCurrentLanguage;
|
||||
- (NSString *)getCurrentFullLanguage;
|
||||
- (NSString *)getFileWithPath:(NSString *)path fileName:(NSString *)fileName;
|
||||
|
||||
- (void)initializeLanguageDictionary;
|
||||
|
||||
- (NSString *)faceStringWithKey:(NSString *)key;
|
||||
- (NSString *)docStringWithKey:(NSString *)key;
|
||||
- (NSString *)guideStringWithKey:(NSString *)key;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user