-
1common/css/app.scss
-
25common/js/qqLatLng.js
-
13components/callPhone/callPhone.vue
-
38components/pozCard/pozCard.vue
-
2config/site.config.js
-
2index.html
-
29manifest.json
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule.zip
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/.DS_Store
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/APSecuritySDK-DeepSec-7.0.1.20220813.jiagu.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/Android-AliyunFaceGuard-10038.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-base-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-facade-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-face-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-faceaudio-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-facelanguage-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-nfc-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-ocr-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-photinus-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/aliyun-wishverify-2.2.8.1-20230721163000.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/android/uniplugin_module-release.aar
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/.DS_Store
-
68nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/en.strings
-
59nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/id.strings
-
59nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/ja.strings
-
59nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/ko.strings
-
68nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/zh-HK.strings
-
68nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/zh-Hans.strings
-
68nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.bundle/zh-Hant.strings
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/.DS_Store
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/APBToygerFacade
-
76nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerBaseTask.h
-
19nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerCherryDetectTask.h
-
26nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerCherryUploadTask.h
-
36nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerFacade.h
-
130nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerFacadeDefine.h
-
25nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerPresentTask.h
-
27nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerUploadTask.h
-
61nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerUtils.h
-
34nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Headers/APBToygerViewController.h
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Info.plist
-
6nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/APBToygerFacade.framework/Modules/module.modulemap
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/AliyunFaceAuthFacade.framework/.DS_Store
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/AliyunFaceAuthFacade.framework/AliyunFaceAuthFacade
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/AliyunFaceAuthFacade.framework/AliyunFaceAuthFacade-Info.plist
-
44nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/AliyunFaceAuthFacade.framework/Headers/AliyunFaceAuthFacade.h
-
28nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/AliyunFaceAuthFacade.framework/Headers/PoPGatewayNetwork.h
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/AliyunFaceAuthFacade.framework/Info.plist
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.bundle/image/back.png
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.bundle/image/close.png
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.bundle/image/open.png
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.bundle/image/open_shuke.png
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.bundle/image/status_bar_cancel.png
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.bundle/image/status_bar_cancel_suitable.png
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/BioAuthEngine
-
76nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFEAlertView.h
-
31nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFECircleProgressBar.h
-
70nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFECircularView.h
-
43nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFEScanViewDelegate.h
-
29nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFEStatusBar.h
-
25nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFEUploadView.h
-
36nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/AFEWebGuideView.h
-
18nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBAlertController.h
-
82nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBAuthEngine.h
-
18nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBAuthFacade.h
-
57nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBBackwardCommand.h
-
145nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBBehavLogModel.h
-
70nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBBisProtocol.h
-
22nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBBisRequestBuilder.h
-
47nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBBisUploadGwRequest.h
-
28nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBCommand.h
-
22nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBConfig.h
-
16nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBDTFUploadToastView.h
-
34nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBDeviceInfo.h
-
43nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBEvent.h
-
27nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBGatewayFacade.h
-
43nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBLogger.h
-
36nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBProxy.h
-
24nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBRequest.h
-
63nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBResponse.h
-
31nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBTaskContext.h
-
44nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBToygerBehavlogManager.h
-
41nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBToygerBioBisConfigManager.h
-
124nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBToygerDataCenter.h
-
169nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/APBToygerRemoteConfig.h
-
431nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/BioAuthCommonSetting.h
-
58nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/BioAuthEngine.h
-
67nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/BioAuthFacade.h
-
30nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/DTFFaceView.h
-
57nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/DTFFaceViewProtocol.h
-
19nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/DTFTextLayer.h
-
22nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/DTFUIElementManager.h
-
18nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/DTFUploadWaveLayer.h
-
16nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/DTFViewProviderProtocol.h
-
69nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/IBioAuthFactor.h
-
64nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/IBioAuthTask.h
-
18nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/NSTimer+bioAuth.h
-
27nativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Headers/UIImage+bioAuth.h
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/BioAuthEngine.framework/Info.plist
-
BINnativePlugins/AP-FaceDetectModule-2.3.11-20240304151709/Ocr-FaceDetectModule/ios/DTFIdentityManager.framework/.DS_Store
@ -1,68 +0,0 @@ |
|||
/* |
|||
en.strings |
|||
APBToygerFacade |
|||
|
|||
Created by shouyi.www on 2017/6/1. |
|||
Copyright © 2017年 DTF. All rights reserved. |
|||
*/ |
|||
|
|||
"APBToygerFacade:取消"="Cancel"; |
|||
"APBToygerFacade:再试一次"="Try Again"; |
|||
"APBToygerFacade:退出"="Quit"; |
|||
"APBToygerFacade:确定"="OK"; |
|||
"APBToygerFacade:继续"="Continue"; |
|||
"APBToygerFacade:我知道了"="Got it"; |
|||
"APBToygerFacade:其他登录方式"="Another login method"; |
|||
"APBToygerFacade:刷脸失败"="Face scan failed"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="Face scan not supported on your device"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="Face scan not supported on your device system"; |
|||
"APBToygerFacade:无法启动相机"="No camera permission"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="Please allow to access your camera in \"Settings\"-\"Privacy\"-\"Camera\""; |
|||
"APBToygerFacade:立即开启"="OK"; |
|||
"APBToygerFacade:刷脸仅在iOS7及以上系统可用"="Face scan is only available on iOS8 or above"; |
|||
"APBToygerFacade:系统错误"="System error"; |
|||
"APBToygerFacade:确定退出吗?"="Are you sure to quit face scan?"; |
|||
"APBToygerFacade:露个脸就能通过"="You can succeed by simply showing your face"; |
|||
"APBToygerFacade:操作超时"="Time out"; |
|||
"APBToygerFacade:正对手机,更容易成功"="Face straight at the phone and ensure you have enough light"; |
|||
"APBToygerFacade:提示:正对手机,更容易成功"="Face straight at the phone and ensure you have enough light"; |
|||
"APBToygerFacade:本次操作失败"="Sorry, face scan failed"; |
|||
"APBToygerFacade:网络不给力"="Network connection failed"; |
|||
"APBToygerFacade:登录中断"="Login interrupted"; |
|||
"APBToygerFacade:验证中断"="Face scan interrupted"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="Face Scan"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="Put your face into the frame"; |
|||
"APBToygerFacade:靠近一点"="Move closer"; |
|||
"APBToygerFacade:没有检测到脸"="No face"; |
|||
"APBToygerFacade:再清晰一点"="Face not clear"; |
|||
"APBToygerFacade:脸部亮一点"="More light"; |
|||
"APBToygerFacade:请正对手机"="No face"; |
|||
"APBToygerFacade:把脸移入圈内"="No face"; |
|||
"APBToygerFacade:离远一点"="Move farther"; |
|||
"APBToygerFacade:请保持不动"="Stay still"; |
|||
"APBToygerFacade:请注视屏幕"="Open your eyes"; |
|||
"APBToygerFacade:眨眨眼"="Blink"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="Use a different verification method"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="Blink"; |
|||
"APBToygerFacade:拿起手机向左摇头"="Turn Head Left"; |
|||
"APBToygerFacade:拿起手机向右摇头"="Turn Head Right"; |
|||
"APBToygerFacade:向左摇头"="Turn Head Left"; |
|||
"APBToygerFacade:向右摇头"="Turn Head Right"; |
|||
|
|||
|
|||
"APBToygerFacade:正在处理"="Processing"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="For the first time use, please enable Face Scan"; |
|||
"APBToygerFacade:立即开通"="Enable"; |
|||
"APBToygerFacade:下次再说"="Later"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="Face straight at the phone"; |
|||
"APBToygerFacade:即将开始人脸检测"="Get ready for face recognition"; |
|||
|
|||
"APBToygerFacade:没有认出你"="Face scan failed"; |
|||
"APBToygerFacade:未能识别人脸"="Face not detected"; |
|||
"APBToygerFacade:人脸检测中"="Face Scan"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="Too many failed attempts, please try again later"; |
@ -1,59 +0,0 @@ |
|||
"APBToygerFacade:取消"="Batalkan"; |
|||
"APBToygerFacade:再试一次"="Harap coba lagi"; |
|||
"APBToygerFacade:退出"="Keluar"; |
|||
"APBToygerFacade:确定"="OK"; |
|||
"APBToygerFacade:继续"="Lanjutkan"; |
|||
"APBToygerFacade:我知道了"="OK"; |
|||
"APBToygerFacade:其他登录方式"="Ubah Metode Logon"; |
|||
"APBToygerFacade:刷脸失败"="Pengenalan wajah gagal"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="Perangkat Anda tidak mendukung pengenalan wajah"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="Sistem saat ini tidak mendukung pengenalan wajah"; |
|||
"APBToygerFacade:无法启动相机"="Tidak Memiliki Izin Akses Kamera"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="Buka Pengaturan > Privasi > Kamera dan izinkan akses"; |
|||
"APBToygerFacade:立即开启"="OK"; |
|||
"APBToygerFacade:刷脸仅在iOS7及以上系统可用"="Hanya iOS 7 dan setelahnya yang mendukung pengenalan wajah"; |
|||
"APBToygerFacade:系统错误"="Terjadi Kesalahan Sistem"; |
|||
"APBToygerFacade:确定退出吗?"="Apakah Anda yakin ingin keluar?"; |
|||
"APBToygerFacade:露个脸就能通过"="Anda hanya perlu memperlihatkan wajah Anda"; |
|||
"APBToygerFacade:操作超时"="Waktu operasi habis"; |
|||
"APBToygerFacade:正对手机,更容易成功"="Arahkan wajah lurus menghadap ponsel untuk membuat wajah Anda lebih mudah dipindai"; |
|||
"APBToygerFacade:本次操作失败"="Operasi gagal"; |
|||
"APBToygerFacade:网络不给力"="Kondisi jaringan tidak memenuhi persyaratan"; |
|||
"APBToygerFacade:登录中断"="Logon Terganggu"; |
|||
"APBToygerFacade:验证中断"="Verifikasi terputus"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="Verifikasi dengan Pengenalan Wajah"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="Posisikan wajah Anda di dalam bingkai dan jangan bergerak"; |
|||
"APBToygerFacade:靠近一点"="Harap dekatkan wajah"; |
|||
"APBToygerFacade:没有检测到脸"="Tidak ada wajah terdeteksi"; |
|||
"APBToygerFacade:再清晰一点"="Perjelas wajah Anda"; |
|||
"APBToygerFacade:脸部亮一点"="Terangi wajah Anda"; |
|||
"APBToygerFacade:请正对手机"="Arahkan wajah lurus menghadap ponsel"; |
|||
"APBToygerFacade:请露出正脸"="Tunjukkan bagian depan wajah Anda"; |
|||
"APBToygerFacade:把脸移入圈内"="Posisikan wajah pada lingkaran"; |
|||
"APBToygerFacade:离远一点"="Harap jauhkan wajah"; |
|||
"APBToygerFacade:请保持不动"="Tetap tenang"; |
|||
"APBToygerFacade:请注视屏幕"="Lihat layar"; |
|||
"APBToygerFacade:眨眨眼"="Harap kedipkan mata"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="Ubah Metode Verifikasi"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="Harap kedipkan mata"; |
|||
"APBToygerFacade:拿起手机向左摇头"="Harap menoleh ke kiri"; |
|||
"APBToygerFacade:拿起手机向右摇头"="Harap menoleh ke kanan"; |
|||
"APBToygerFacade:向左摇头"="Harap menoleh ke kiri"; |
|||
"APBToygerFacade:向右摇头"="Harap menoleh ke kanan"; |
|||
|
|||
"APBToygerFacade:正在处理"="Memproses"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="Aktifkan pengenalan wajah untuk melanjutkan"; |
|||
"APBToygerFacade:立即开通"="Aktifkan"; |
|||
"APBToygerFacade:下次再说"="Lain Kali"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="Arahkan wajah lurus menghadap ponsel"; |
|||
"APBToygerFacade:即将开始人脸检测"="Memulai pengenalan wajah"; |
|||
|
|||
"APBToygerFacade:没有认出你"="Pengenalan wajah gagal"; |
|||
"APBToygerFacade:未能识别人脸"="Tidak ada wajah terdeteksi"; |
|||
"APBToygerFacade:人脸检测中"="Pengenalan wajah dalam proses"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="Pengenalan wajah terlalu sering dilakukan. Harap coba lagi nanti"; |
@ -1,59 +0,0 @@ |
|||
"APBToygerFacade:取消"="キャンセル"; |
|||
"APBToygerFacade:再试一次"="もう一度お試しください"; |
|||
"APBToygerFacade:退出"="終了"; |
|||
"APBToygerFacade:确定"="OK"; |
|||
"APBToygerFacade:继续"="続行"; |
|||
"APBToygerFacade:我知道了"="OK"; |
|||
"APBToygerFacade:其他登录方式"="ログイン方法を切り替え"; |
|||
"APBToygerFacade:刷脸失败"="顔を認識できませんでした"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="お使いのデバイスは顔認識をサポートしていません"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="顔認識をサポートしていないシステムです"; |
|||
"APBToygerFacade:无法启动相机"="カメラにアクセスできません"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="[設定] > [プライバシー] > [カメラ] に移動し、アクセスを許可してください"; |
|||
"APBToygerFacade:立即开启"="OK"; |
|||
"APBToygerFacade:刷脸仅在iOS7及以上系统可用"="顔認識は iOS 7 以降でサポートされています"; |
|||
"APBToygerFacade:系统错误"="システムエラー"; |
|||
"APBToygerFacade:确定退出吗?"="終了してもよろしいですか"; |
|||
"APBToygerFacade:露个脸就能通过"="顔を見せるだけです"; |
|||
"APBToygerFacade:操作超时"="操作がタイムアウトしました"; |
|||
"APBToygerFacade:正对手机,更容易成功"="顔をスキャンしやすいように、電話の方を向いてください"; |
|||
"APBToygerFacade:本次操作失败"="操作に失敗しました"; |
|||
"APBToygerFacade:网络不给力"="ネットワークの状態が要件を満たしていません"; |
|||
"APBToygerFacade:登录中断"="ログインが中断されました"; |
|||
"APBToygerFacade:验证中断"="検証が中断されました"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="顔認識による検証"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="フレームの内側に顔が入るようにして、動かないでください"; |
|||
"APBToygerFacade:靠近一点"="近づいてください"; |
|||
"APBToygerFacade:没有检测到脸"="顔が検出されません"; |
|||
"APBToygerFacade:再清晰一点"="顔をはっきりさせてください"; |
|||
"APBToygerFacade:脸部亮一点"="顔を明るくしてください"; |
|||
"APBToygerFacade:请正对手机"="電話の方を向いてください"; |
|||
"APBToygerFacade:请露出正脸"="顔の正面を見せてください"; |
|||
"APBToygerFacade:把脸移入圈内"="顔を円の中に入れてください"; |
|||
"APBToygerFacade:离远一点"="離れてください"; |
|||
"APBToygerFacade:请保持不动"="動かないでください"; |
|||
"APBToygerFacade:请注视屏幕"="画面を見てください"; |
|||
"APBToygerFacade:眨眨眼"="まばたきしてください"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="検証方法を変更"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="まばたきしてください"; |
|||
"APBToygerFacade:拿起手机向左摇头"="頭を左に"; |
|||
"APBToygerFacade:拿起手机向右摇头"="頭を右に"; |
|||
"APBToygerFacade:向左摇头"="頭を左に"; |
|||
"APBToygerFacade:向右摇头"="頭を右に"; |
|||
|
|||
"APBToygerFacade:正在处理"="処理中"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="顔認識を有効化して続行します"; |
|||
"APBToygerFacade:立即开通"="有効化"; |
|||
"APBToygerFacade:下次再说"="後で"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="電話の方を向いてください"; |
|||
"APBToygerFacade:即将开始人脸检测"="顔認識を開始"; |
|||
|
|||
"APBToygerFacade:没有认出你"="顔を認識できませんでした"; |
|||
"APBToygerFacade:未能识别人脸"="顔が検出されません"; |
|||
"APBToygerFacade:人脸检测中"="顔を認識中です"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="顔認識が頻繁に実行されています。後でもう一度やり直してください"; |
@ -1,59 +0,0 @@ |
|||
"APBToygerFacade:取消"="취소"; |
|||
"APBToygerFacade:再试一次"="다시 시도하세요"; |
|||
"APBToygerFacade:退出"="종료"; |
|||
"APBToygerFacade:确定"="확인"; |
|||
"APBToygerFacade:继续"="계속"; |
|||
"APBToygerFacade:我知道了"="확인"; |
|||
"APBToygerFacade:其他登录方式"="로그온 방법 전환"; |
|||
"APBToygerFacade:刷脸失败"="안면 인식에 실패했습니다"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="귀하의 디바이스는 안면 인식을 지원하지 않습니다"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="현재 시스템은 안면 인식을 지원하지 않습니다"; |
|||
"APBToygerFacade:无法启动相机"="카메라 권한이 없습니다"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="설정 > 개인 > 카메라에서 접근 권한을 부여하십시오"; |
|||
"APBToygerFacade:立即开启"="OK"; |
|||
"APBToygerFacade:刷脸仅在iOS7及以上系统可用"="iOS 7 및 그 이상의 버전에서만 안면 인식이 지원됩니다"; |
|||
"APBToygerFacade:系统错误"="시스템 오류"; |
|||
"APBToygerFacade:确定退出吗?"="정말로 종료하시겠습니까?"; |
|||
"APBToygerFacade:露个脸就能通过"="얼굴만 보여주시면 됩니다"; |
|||
"APBToygerFacade:操作超时"="작업 시간이 초과되었습니다"; |
|||
"APBToygerFacade:正对手机,更容易成功"="얼굴을 더 쉽게 스캔할 수 있도록 휴대전화를 정면으로 바라보세요"; |
|||
"APBToygerFacade:本次操作失败"="작동에 실패했습니다"; |
|||
"APBToygerFacade:网络不给力"="네트워크 상태가 요구 사항을 충족하지 않습니다"; |
|||
"APBToygerFacade:登录中断"="로그온이 중단되었습니다"; |
|||
"APBToygerFacade:验证中断"="확인이 중단되었습니다"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="안면 인식을 통한 인증"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="얼굴이 프레임 안으로 들어오도록 위치한 다음 움직이지 말고 가만히 계십시오"; |
|||
"APBToygerFacade:靠近一点"="더 가까이 움직이세요"; |
|||
"APBToygerFacade:没有检测到脸"="감지된 얼굴이 없습니다"; |
|||
"APBToygerFacade:再清晰一点"="얼굴을 좀더 선명하게 만드세요"; |
|||
"APBToygerFacade:脸部亮一点"="얼굴을 밝게 만드세요"; |
|||
"APBToygerFacade:请正对手机"="휴대전화를 정면으로 바라보세요"; |
|||
"APBToygerFacade:请露出正脸"="얼굴의 정면을 보여주세요"; |
|||
"APBToygerFacade:把脸移入圈内"="얼굴이 원 안에 들어오도록 움직이세요"; |
|||
"APBToygerFacade:离远一点"="더 멀리 움직이세요"; |
|||
"APBToygerFacade:请保持不动"="가만히 계십시오"; |
|||
"APBToygerFacade:请注视屏幕"="화면을 바라보세요"; |
|||
"APBToygerFacade:眨眨眼"="눈을 깜빡이세요"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="인증 방법을 변경합니다"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="눈을 깜빡이세요"; |
|||
"APBToygerFacade:拿起手机向左摇头"="좌측으로 고개를 돌립니다"; |
|||
"APBToygerFacade:拿起手机向右摇头"="우측으로 고개를 돌립니다"; |
|||
"APBToygerFacade:向左摇头"="좌측으로 고개를 돌립니다"; |
|||
"APBToygerFacade:向右摇头"="우측으로 고개를 돌립니다"; |
|||
|
|||
"APBToygerFacade:正在处理"="처리 중"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="안면 인식을 활성화하여 계속 진행합니다"; |
|||
"APBToygerFacade:立即开通"="활성화하기"; |
|||
"APBToygerFacade:下次再说"="나중에 하기"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="휴대전화를 정면으로 바라보세요"; |
|||
"APBToygerFacade:即将开始人脸检测"="안면 인식 시작"; |
|||
|
|||
"APBToygerFacade:没有认出你"="안면 인식에 실패했습니다"; |
|||
"APBToygerFacade:未能识别人脸"="감지된 얼굴이 없습니다"; |
|||
"APBToygerFacade:人脸检测中"="얼굴 인식 중"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="안면 인식이 연속으로 실행되었습니다. 나중에 다시 시도하세요"; |
@ -1,68 +0,0 @@ |
|||
/* |
|||
zh-HK.strings |
|||
APBToygerFacade |
|||
|
|||
Created by shouyi.www on 2017/6/1. |
|||
Copyright © 2017年 DTF. All rights reserved. |
|||
*/ |
|||
|
|||
|
|||
"APBToygerFacade:取消"="取消"; |
|||
"APBToygerFacade:再试一次"="再試一次"; |
|||
"APBToygerFacade:退出"="退出"; |
|||
"APBToygerFacade:确定"="確定"; |
|||
"APBToygerFacade:继续"="继续"; |
|||
"APBToygerFacade:我知道了"="我知道了"; |
|||
"APBToygerFacade:其他登录方式"="其他登录方式"; |
|||
"APBToygerFacade:刷脸失败"="刷臉失敗"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="目前系統不支援刷臉"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="目前設備不支援刷臉"; |
|||
"APBToygerFacade:无法启动相机"="無法啟動相機"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="請到“設置-隱私-相機”開啓權限"; |
|||
"APBToygerFacade:立即开启"="開通權限"; |
|||
"APBToygerFacade:刷脸仅在iOS7及以上系统可用"="刷脸仅在iOS7及以上系统可用"; |
|||
"APBToygerFacade:系统错误"="系統錯誤"; |
|||
"APBToygerFacade:确定退出吗?"="確定退出嗎?"; |
|||
"APBToygerFacade:露个脸就能通过"="露個臉就能通過"; |
|||
"APBToygerFacade:操作超时"="操作超時"; |
|||
"APBToygerFacade:正对手机,更容易成功"="對準手機,更容易成功"; |
|||
"APBToygerFacade:本次操作失败"="本次操作失敗"; |
|||
"APBToygerFacade:网络不给力"="網絡異常,請稍後再試"; |
|||
"APBToygerFacade:登录中断"="登入中斷"; |
|||
"APBToygerFacade:验证中断"="驗證中斷"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="刷臉驗證"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="請把臉移入圈內保持不動"; |
|||
"APBToygerFacade:靠近一点"="靠近一點"; |
|||
"APBToygerFacade:没有检测到脸"="沒有檢測到臉"; |
|||
"APBToygerFacade:再清晰一点"="再清晰一點"; |
|||
"APBToygerFacade:脸部亮一点"="光線再亮點"; |
|||
"APBToygerFacade:请正对手机"="請正視手機"; |
|||
"APBToygerFacade:请露出正脸"="請露出正臉"; |
|||
"APBToygerFacade:把脸移入圈内"="把臉移入框內"; |
|||
"APBToygerFacade:离远一点"="離遠一點"; |
|||
"APBToygerFacade:请保持不动"="請保持不動"; |
|||
"APBToygerFacade:请注视屏幕"="請注視屏幕"; |
|||
"APBToygerFacade:眨眨眼"="眨眨眼"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="選擇其他驗證方式"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="拿起手機,眨眨眼"; |
|||
"APBToygerFacade:拿起手机向左摇头"="拿著手機,向左搖頭"; |
|||
"APBToygerFacade:拿起手机向右摇头"="拿著手機,向右搖頭"; |
|||
"APBToygerFacade:向左摇头"="向左搖頭"; |
|||
"APBToygerFacade:向右摇头"="向右搖頭"; |
|||
|
|||
"APBToygerFacade:正在处理"="正在處理"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="首次使用,請開通刷臉"; |
|||
"APBToygerFacade:立即开通"="立即開通"; |
|||
"APBToygerFacade:下次再说"="下次再說"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="請把手機正對面部"; |
|||
"APBToygerFacade:即将开始人脸检测"="即將開始人臉檢測"; |
|||
|
|||
"APBToygerFacade:没有认出你"="沒有認出你"; |
|||
"APBToygerFacade:未能识别人脸"="未能識別人臉"; |
|||
"APBToygerFacade:人脸检测中"="人臉檢測中"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="刷臉失敗次數過多,請稍後再試"; |
@ -1,68 +0,0 @@ |
|||
/* |
|||
zh-Hans.strings |
|||
APBToygerFacade |
|||
|
|||
Created by shouyi.www on 2017/6/1. |
|||
Copyright © 2017年 DTF. All rights reserved. |
|||
*/ |
|||
|
|||
|
|||
"APBToygerFacade:取消"="取消"; |
|||
"APBToygerFacade:再试一次"="再试一次"; |
|||
"APBToygerFacade:退出"="退出"; |
|||
"APBToygerFacade:确定"="确定"; |
|||
"APBToygerFacade:继续"="继续"; |
|||
"APBToygerFacade:我知道了"="我知道了"; |
|||
"APBToygerFacade:其他登录方式"="其他登录方式"; |
|||
"APBToygerFacade:刷脸失败"="刷脸失败"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="当前设备不支持刷脸"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="当前系统不支持刷脸"; |
|||
"APBToygerFacade:无法启动相机"="无法启动相机"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="请到“设置-隐私-相机”开启权限"; |
|||
"APBToygerFacade:立即开启"="立即开启"; |
|||
"APBToygerFacade:刷脸仅在iOS8及以上版本可用"="刷脸仅在iOS8及以上版本可用"; |
|||
"APBToygerFacade:系统错误"="系统错误"; |
|||
"APBToygerFacade:确定退出吗?"="确定退出吗?"; |
|||
"APBToygerFacade:露个脸就能通过"="露个脸就能通过"; |
|||
"APBToygerFacade:操作超时"="操作超时"; |
|||
"APBToygerFacade:正对手机,更容易成功"="正对手机,更容易成功"; |
|||
"APBToygerFacade:本次操作失败"="本次操作失败"; |
|||
"APBToygerFacade:网络不给力"="网络不给力"; |
|||
"APBToygerFacade:登录中断"="登录中断"; |
|||
"APBToygerFacade:验证中断"="验证中断"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="刷脸验证"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="请把脸移入圈内保持不动"; |
|||
"APBToygerFacade:靠近一点"="靠近一点"; |
|||
"APBToygerFacade:没有检测到脸"="没有检测到脸"; |
|||
"APBToygerFacade:再清晰一点"="再清晰一点"; |
|||
"APBToygerFacade:脸部亮一点"="脸部亮一点"; |
|||
"APBToygerFacade:请正对手机"="请正对手机"; |
|||
"APBToygerFacade:请露出正脸"="请露出正脸"; |
|||
"APBToygerFacade:把脸移入圈内"="把脸移入圈内"; |
|||
"APBToygerFacade:离远一点"="离远一点"; |
|||
"APBToygerFacade:请保持不动"="请保持不动"; |
|||
"APBToygerFacade:请注视屏幕"="请注视屏幕"; |
|||
"APBToygerFacade:眨眨眼"="眨眨眼"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="选择其他验证方式"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="拿起手机,眨眨眼"; |
|||
"APBToygerFacade:拿起手机向左摇头"="拿起手机,向左摇头"; |
|||
"APBToygerFacade:拿起手机向右摇头"="拿起手机,向右摇头"; |
|||
"APBToygerFacade:向左摇头"="向左摇头"; |
|||
"APBToygerFacade:向右摇头"="向右摇头"; |
|||
|
|||
"APBToygerFacade:正在处理"="正在处理"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="首次使用,请开通刷脸"; |
|||
"APBToygerFacade:立即开通"="立即开通"; |
|||
"APBToygerFacade:下次再说"="下次再说"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="请把手机正对面部"; |
|||
"APBToygerFacade:即将开始人脸检测"="即将开始人脸检测"; |
|||
|
|||
"APBToygerFacade:没有认出你"="没有认出你"; |
|||
"APBToygerFacade:未能识别人脸"="未能识别人脸"; |
|||
"APBToygerFacade:人脸检测中"="人脸检测中"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="刷脸失败次数过多,请稍后再试"; |
@ -1,68 +0,0 @@ |
|||
/* |
|||
zh-Hant.strings |
|||
APBToygerFacade |
|||
|
|||
Created by shouyi.www on 2017/6/1. |
|||
Copyright © 2017年 DTF. All rights reserved. |
|||
*/ |
|||
|
|||
|
|||
"APBToygerFacade:取消"="取消"; |
|||
"APBToygerFacade:再试一次"="再試一次"; |
|||
"APBToygerFacade:退出"="退出"; |
|||
"APBToygerFacade:确定"="確定"; |
|||
"APBToygerFacade:继续"="繼續"; |
|||
"APBToygerFacade:我知道了"="我知道了"; |
|||
"APBToygerFacade:其他登录方式"="其他登入方式"; |
|||
"APBToygerFacade:刷脸失败"="刷臉失敗"; |
|||
"APBToygerFacade:当前设备不支持刷脸"="目前設備不支援刷臉服務"; |
|||
"APBToygerFacade:当前系统不支持刷脸"="当前系统不支持刷脸"; |
|||
"APBToygerFacade:无法启动相机"="無法啟動相機"; |
|||
"APBToygerFacade:请到\“设置-隐私-相机\”开启权限"="請到“設置-隱私-相機”開啓權限"; |
|||
"APBToygerFacade:立即开启"="開通權限"; |
|||
"APBToygerFacade:刷脸仅在iOS8及以上系统可用"="刷脸仅在iOS8及以上系统可用"; |
|||
"APBToygerFacade:系统错误"="系統錯誤"; |
|||
"APBToygerFacade:确定退出吗?"="確定退出嗎?"; |
|||
"APBToygerFacade:露个脸就能通过"="露個臉就能通過"; |
|||
"APBToygerFacade:操作超时"="操作超時"; |
|||
"APBToygerFacade:正对手机,更容易成功"="對準手機,更容易成功"; |
|||
"APBToygerFacade:本次操作失败"="本次操作失敗"; |
|||
"APBToygerFacade:网络不给力"="網絡異常,請稍後再試"; |
|||
"APBToygerFacade:登录中断"="登入中斷"; |
|||
"APBToygerFacade:验证中断"="驗證中斷"; |
|||
|
|||
|
|||
"APBToygerFacade:刷脸验证"="刷臉驗證"; |
|||
"APBToygerFacade:请把脸放入框内保持不动"="請把臉移入圈內保持不動"; |
|||
"APBToygerFacade:靠近一点"="靠近一點"; |
|||
"APBToygerFacade:没有检测到脸"="沒有檢測到臉"; |
|||
"APBToygerFacade:再清晰一点"="再清晰一點"; |
|||
"APBToygerFacade:脸部亮一点"="光線再亮點"; |
|||
"APBToygerFacade:请正对手机"="請正視手機"; |
|||
"APBToygerFacade:请露出正脸"="請露出正臉"; |
|||
"APBToygerFacade:把脸移入圈内"="把臉移入框內"; |
|||
"APBToygerFacade:离远一点"="離遠一點"; |
|||
"APBToygerFacade:请保持不动"="請保持不動"; |
|||
"APBToygerFacade:请注视屏幕"="請注視屏幕"; |
|||
"APBToygerFacade:眨眨眼"="眨眨眼"; |
|||
"APBToygerFacade:蚂蚁佐罗提供技术支持"=""; |
|||
|
|||
"APBToygerFacade:选择其他验证方式"="選擇其他驗證方式"; |
|||
"APBToygerFacade:拿起手机眨眨眼"="拿起手機,眨眨眼"; |
|||
"APBToygerFacade:拿起手机向左摇头"="拿起手機,向左搖頭"; |
|||
"APBToygerFacade:拿起手机向右摇头"="拿起手機,向右搖頭"; |
|||
"APBToygerFacade:向左摇头"="向左搖頭"; |
|||
"APBToygerFacade:向右摇头"="向右搖頭"; |
|||
|
|||
"APBToygerFacade:正在处理"="正在處理"; |
|||
"APBToygerFacade:首次使用,请开通刷脸"="首次使用,請開通刷臉"; |
|||
"APBToygerFacade:立即开通"="立即開通"; |
|||
"APBToygerFacade:下次再说"="下次再說"; |
|||
|
|||
"APBToygerFacade:请把手机正对面部"="請把手機正對面部"; |
|||
"APBToygerFacade:即将开始人脸检测"="即將開始人臉檢測"; |
|||
|
|||
"APBToygerFacade:没有认出你"="沒有認出你"; |
|||
"APBToygerFacade:未能识别人脸"="未能識別人臉"; |
|||
"APBToygerFacade:人脸检测中"="人臉檢測中"; |
|||
"APBToygerFacade:刷脸失败次数过多,请稍后再试"="刷臉失敗次數過多,請稍後再試"; |
@ -1,76 +0,0 @@ |
|||
// |
|||
// APFBaseTask.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by 晗羽 on 8/25/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/IBioAuthTask.h> |
|||
#import <BioAuthEngine/APBTaskContext.h> |
|||
#import <BioAuthEngine/APBLogger.h> |
|||
#import <BioAuthEngine/AFEAlertView.h> |
|||
#import <APBToygerFacade/APBToygerUtils.h> |
|||
#import <BioAuthEngine/APBToygerRemoteConfig.h> |
|||
#import <BioAuthEngine/APBToygerBehavlogManager.h> |
|||
//#import "APBToygerDataCenter.h" |
|||
#import <BioAuthEngine/BioAuthCommonSetting.h> |
|||
#import <APBToygerFacade/APBToygerViewController.h> |
|||
|
|||
@class DTFLogMonitor,APBToygerDataCenter; |
|||
|
|||
typedef void (^APFAlertExtraAction)(); |
|||
|
|||
@interface APBToygerBaseTask : NSObject <IBioAuthTask> |
|||
|
|||
//协议定义的属性 |
|||
@property(nonatomic, copy)NSString *taskName; //任务名 |
|||
@property(nonatomic, strong)APBTaskContext *context; //任务数据 |
|||
@property(nonatomic, weak)NSMutableDictionary *pipeInfo; //共享数据 |
|||
//公用属性 |
|||
@property(nonatomic, weak)UIViewController *parentViewController; //父viewController |
|||
@property(nonatomic, weak)APBToygerViewController *currentViewController; //当前viewController |
|||
@property(nonatomic, weak)UIView *currentView; //当前显示的界面 |
|||
@property(nonatomic, copy)commandBlock bioCommandBlock; //对框架进行操作的block |
|||
@property(nonatomic, strong)APBToygerRemoteConfig * bisConfig; //bis下放的配置参数 |
|||
@property(nonatomic, strong)APBToygerDataCenter * dataCenter; //行为日志 |
|||
@property(nonatomic, copy)NSString *bisToken; //bisToken |
|||
@property(nonatomic, assign)NSInteger currentRetryCnt; //当前重试次数 |
|||
@property(nonatomic, assign)BOOL soundStatus; //当前声音状态 |
|||
//@property(nonatomic, assign)BOOL isLoginMode; //当前场景是否为登录场景 |
|||
@property(nonatomic, assign)BOOL isMYBank; //是否是网商银行 |
|||
@property(nonatomic, strong)DTFLogMonitor *monitor; //埋点 |
|||
|
|||
- (void)exitWithResult:(APBResultType)result failReason:(NSString *)failReason retCodeSub:(NSString *)retCodeSub retMessageSub:(NSString *)retMessageSub; |
|||
|
|||
- (void)eventQuitWithCompletionCallback:(BioAuthExecCallback)callback; |
|||
/** |
|||
* 用户选择重试 |
|||
*/ |
|||
- (void)handleRetryActionWithScene:(NSString *)scene |
|||
buttonTitle:(NSString *)title |
|||
extAction:(APFAlertExtraAction)action; |
|||
|
|||
/** |
|||
* 用户选择退出 |
|||
*/ |
|||
- (void)handleExitActionWithScene:(NSString *)scene |
|||
buttonTitle:(NSString *)title |
|||
exitReason:(APBResultType)reason |
|||
extAction:(APFAlertExtraAction)action; |
|||
|
|||
/** |
|||
* 用户选择继续 |
|||
*/ |
|||
- (void)handleContinueActionWithScene:(NSString *)scene |
|||
buttonTitle:(NSString *)title |
|||
extaction:(APFAlertExtraAction)action; |
|||
|
|||
/** |
|||
* 消除VC的方式,加菲和樱桃不同 |
|||
*/ |
|||
- (void)dismissViewControllerAnimated: (BOOL)flag completion:(void (^ __nullable)(void))completion; |
|||
|
|||
@end |
@ -1,19 +0,0 @@ |
|||
// |
|||
// APFCherryDetectTask.h |
|||
// APBToygerFacade |
|||
// |
|||
// Created by richard on 01/02/2018. |
|||
// Copyright © 2018 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/AFEStatusBar.h> |
|||
#import <APBToygerFacade/APBToygerBaseTask.h> |
|||
#import <BioAuthEngine/BioAuthEngine.h> |
|||
#import <DTFUtility/CameraService.h> |
|||
|
|||
@interface APBToygerCherryDetectTask : APBToygerBaseTask <DTFCameraServiceDelegate, DTFFaceViewDelegate> |
|||
|
|||
@property(nonatomic, assign)BOOL photinusFlags; |
|||
|
|||
@end |
@ -1,26 +0,0 @@ |
|||
// |
|||
// APFCherryUploadTask.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by yukun.tyk on 28/11/2016. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <APBToygerFacade/APBToygerUploadTask.h> |
|||
#import <BioAuthEngine/APBToygerDataCenter.h> |
|||
|
|||
typedef NS_ENUM(NSInteger, APBToygerRemoteCommand) |
|||
{ |
|||
APBToyger_REMOTE_COMMAND_PASS = 1001, //比对通过 |
|||
APBToyger_REMOTE_COMMAND_CONTINUE = 1002, //需要继续采集 |
|||
APBToyger_REMOTE_COMMAND_FAIL = 2001, //比对失败 |
|||
APBToyger_REMOTE_COMMAND_RETRY = 2002, //需要重试 |
|||
}; |
|||
|
|||
|
|||
@interface APBToygerCherryUploadTask : APBToygerUploadTask <APBToygerDataCenterDelegate> |
|||
|
|||
- (APBToygerRemoteCommand)remoteCommandFromString:(NSString *)code; |
|||
|
|||
@end |
@ -1,36 +0,0 @@ |
|||
// |
|||
// APFaceFacade.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by 晗羽 on 8/25/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/IBioAuthFactor.h> |
|||
|
|||
@interface APBToygerFacade : NSObject <IBioAuthFactor> |
|||
|
|||
+(void)setTokenid:(NSString*)info; |
|||
+(NSString*)getTokenid; |
|||
|
|||
@end |
|||
|
|||
#import <APBToygerFacade/APBToygerCherryDetectTask.h> |
|||
#import <APBToygerFacade/APBToygerBaseTask.h> |
|||
#import <APBToygerFacade/APBToygerPresentTask.h> |
|||
#import <APBToygerFacade/APBToygerCherryUploadTask.h> |
|||
#import <APBToygerFacade/APBToygerUtils.h> |
|||
#import <APBToygerFacade/APBToygerUploadTask.h> |
|||
#import <APBToygerFacade/APBToygerFacadeDefine.h> |
|||
#import <BioAuthEngine/APBToygerRemoteConfig.h> |
|||
#import <BioAuthEngine/APBToygerBehavlogManager.h> |
|||
#import <BioAuthEngine/APBToygerDataCenter.h> |
|||
#import <APBToygerFacade/APBToygerViewController.h> |
|||
#import <UIKit/UIKit.h> |
|||
|
|||
//! Project version number for APBToygerFacade. |
|||
FOUNDATION_EXPORT double APBToygerFacadeVersionNumber; |
|||
|
|||
//! Project version string for APBToygerFacade. |
|||
FOUNDATION_EXPORT const unsigned char APBToygerFacadeVersionString[]; |
@ -1,130 +0,0 @@ |
|||
// |
|||
// APFCherryDefine.h |
|||
// APBToygerFacade |
|||
// |
|||
// Created by shouyi.www on 27/02/2017. |
|||
// Copyright © 2017 DTF. All rights reserved. |
|||
// |
|||
|
|||
#ifndef APBToygerFacadeDefine_h |
|||
#define APBToygerFacadeDefine_h |
|||
|
|||
|
|||
static float normalized_distance(float current_value, float best_value, float range) { |
|||
return fabsf((current_value - best_value) / range); |
|||
} |
|||
|
|||
//typedef struct toyger_status_evaluator_t { |
|||
// float pitch; |
|||
// float yaw; |
|||
// float width; |
|||
// |
|||
// float best_pitch; |
|||
// float best_yaw; |
|||
// float best_width; |
|||
// float pitch_range; |
|||
// float yaw_range; |
|||
// float width_range; |
|||
// float pitch_weight; |
|||
// float yaw_weight; |
|||
// float width_weight; |
|||
// |
|||
// toyger_status_evaluator_t(float pitch_ = -0.3, float pitch_range_ = 0.7, float best_pitch_ = 0, float pitch_weight_ = 1, |
|||
// float yaw_ = -0.6, float yaw_range_ = 0.6, float best_yaw_ = 0, float yaw_weight_ = 1, |
|||
// float width_ = 0.2, float width_range_ = 1.2, float best_width_ = 0.7, float width_weight_ = 1){ |
|||
// pitch = pitch_; |
|||
// yaw = yaw_; |
|||
// width = width_; |
|||
// pitch_range = pitch_range_; |
|||
// yaw_range = yaw_range_; |
|||
// width_range = width_range_; |
|||
// best_pitch = best_pitch_; |
|||
// best_yaw = best_yaw_; |
|||
// best_width = best_width_; |
|||
// pitch_weight = pitch_weight_; |
|||
// yaw_weight = yaw_weight_; |
|||
// width_weight = width_weight_; |
|||
// } |
|||
// |
|||
// void reset(){ |
|||
// pitch = -0.3; |
|||
// yaw = -0.6; |
|||
// width = 0.2; |
|||
// } |
|||
// |
|||
// void update(float pitch_, float yaw_, float width_) { |
|||
// pitch = pitch_; |
|||
// yaw = yaw_; |
|||
// width = width_; |
|||
// } |
|||
// |
|||
// float evaluateProgress(float pitch_, float yaw_, float width_){ |
|||
// return |
|||
// (normalized_distance(pitch_, best_pitch, pitch_range) * pitch_weight + |
|||
// normalized_distance(yaw_, best_yaw, yaw_range) * yaw_weight + |
|||
// normalized_distance(width_, best_width, width_range) * width_weight) / |
|||
// (pitch_weight + yaw_weight + width_weight); |
|||
// } |
|||
// |
|||
// float evaluate(){ |
|||
// return 1 - |
|||
// (normalized_distance(pitch, best_pitch, pitch_range) * pitch_weight + |
|||
// normalized_distance(yaw, best_yaw, yaw_range) * yaw_weight + |
|||
// normalized_distance(width, best_width, width_range) * width_weight) / |
|||
// (pitch_weight + yaw_weight + width_weight); |
|||
// } |
|||
// |
|||
//}ToygerStatusEvaluator; |
|||
|
|||
|
|||
typedef struct apbtoyger_tip_evaluator_t { |
|||
bool pose_end; |
|||
bool has_face; |
|||
bool did_blink; |
|||
bool pos_okay; |
|||
bool quality_okay; |
|||
bool under_exposure; |
|||
bool face_width_too_small; |
|||
bool face_width_too_big; |
|||
bool integrity_fail; |
|||
bool yaw_fail; |
|||
bool pitch_fail; |
|||
bool tremble_fail; |
|||
bool did_checkSeven; |
|||
int tip_timer_wait_cnt; |
|||
bool tip_show_switch; |
|||
int tip_message; |
|||
|
|||
apbtoyger_tip_evaluator_t(){ |
|||
reset(); |
|||
} |
|||
|
|||
void reset(){ |
|||
has_face = false; |
|||
did_blink = false; |
|||
pos_okay = false; |
|||
under_exposure = false; |
|||
face_width_too_small = false; |
|||
integrity_fail = false; |
|||
pitch_fail = false; |
|||
face_width_too_big = false; |
|||
yaw_fail = false; |
|||
tremble_fail = false; |
|||
tip_timer_wait_cnt = 0; |
|||
tip_show_switch = true; |
|||
did_checkSeven = false; |
|||
quality_okay = false; |
|||
pose_end = false; |
|||
tip_message =0; |
|||
} |
|||
}APBToygerTipEvaluator; |
|||
|
|||
|
|||
//UI样式 |
|||
typedef enum : NSUInteger { |
|||
APBToygerUIStyleFPPCherry = 991, //991 FPP樱桃(废弃) |
|||
APBToygerUIStyleCherry, //992 zFace樱桃 |
|||
APBToygerUIStyleGarfield, //993 加菲 |
|||
} APBToygerUIStyle; |
|||
|
|||
#endif |
@ -1,25 +0,0 @@ |
|||
// |
|||
// APFPresentTask.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by 晗羽 on 8/26/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <APBToygerFacade/APBToygerBaseTask.h> |
|||
#import <DTFUtility/CameraService.h> |
|||
#import <BioAuthEngine/DTFFaceViewProtocol.h> |
|||
/** |
|||
* @author Skye Ying, 16-08-26 13:08:04 |
|||
* |
|||
* 新建VC,启动整个view |
|||
*/ |
|||
@interface APBToygerPresentTask : APBToygerBaseTask |
|||
|
|||
@property(nonatomic, strong) id<DTFFaceViewProtocol> faceView; |
|||
|
|||
-(void) postCameraPresentwithCamera:(DTFCameraService *) cameraService; |
|||
|
|||
-(void) presentAnimated: (BOOL)flag completion:(void (^ __nullable)(void))completion; |
|||
|
|||
@end |
@ -1,27 +0,0 @@ |
|||
// |
|||
// APBToygerUploadTask.h |
|||
// APBToygerFacade |
|||
// |
|||
// Created by Dan Cong on 29/1/2018. |
|||
// Copyright © 2018 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <APBToygerFacade/APBToygerBaseTask.h> |
|||
|
|||
/** |
|||
上传基类,用于下沉多种UI(樱桃和加菲)下通用的逻辑 |
|||
*/ |
|||
@interface APBToygerUploadTask : APBToygerBaseTask |
|||
|
|||
- (void)uploadImage; |
|||
|
|||
- (void)didFinishUploadWithSuccess:(BOOL)success |
|||
retCode:(NSString *)retCode |
|||
retMessage:(NSString *)msg |
|||
extInfo:(NSString *)ext; |
|||
|
|||
- (void)handleFailWithRetCodeSub:(NSString *)retCodeSub retMessageSub:(NSString *)retMessageSub; |
|||
|
|||
- (void)requestAgain; |
|||
|
|||
@end |
@ -1,61 +0,0 @@ |
|||
// |
|||
// APFUtils.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by 晗羽 on 8/25/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <APBToygerFacade/APBToygerFacadeDefine.h> |
|||
|
|||
//#import "APFaceDetectBizFacade.h" |
|||
|
|||
//主线程同步操作 |
|||
#define SYNC_MAINTHREAD_BEGIN_APBT [APBToygerUtils APBToygerMainThread:^{ |
|||
#define SYNC_MAINTHREAD_END_APBT }]; |
|||
|
|||
#define LOCK(locker, ...) dispatch_semaphore_wait(locker, DISPATCH_TIME_FOREVER); \ |
|||
__VA_ARGS__; \ |
|||
dispatch_semaphore_signal(locker); |
|||
|
|||
@class MGLivenessDetectionFrameEncodedData; |
|||
|
|||
@interface APBToygerUtils : NSObject |
|||
|
|||
+ (void)APBToygerMainThread:(dispatch_block_t)block; |
|||
|
|||
+ (NSString *)getTextContentforKey:(NSString*)keyName; |
|||
+ (NSString *)localizedTextForKey:(NSString *)key; |
|||
+ (NSBundle *)getBundle; |
|||
|
|||
+ (int)getCodefrom:(NSString *)bisToken withLength:(int)codeLen; |
|||
//+ (NSString *)getActionNoticeByActionType:(APFLiveActionType) actionType; |
|||
|
|||
//检查文件是否存在 |
|||
+ (BOOL) checkFileunderPath:(NSString *) filePath; |
|||
|
|||
//写入文件 |
|||
//如果文件存在,不重写,返回失败。 |
|||
//如果文件不再在,写入,返回写入结果 |
|||
+ (BOOL) writeFileunderPath:(NSString *) filePath; |
|||
|
|||
//删除文件 |
|||
+ (BOOL) removeFileunderPath:(NSString *) filePath; |
|||
|
|||
//随机文件名 |
|||
+ (NSString *)randomString:(NSInteger)len; |
|||
|
|||
+ (NSString *)localizedStringForKey:(NSString *)key; |
|||
|
|||
+ (UIImage *)loadImageFromBundleNamed:(NSString *)imageName; |
|||
|
|||
+ (UIWindow *)lastWindow; |
|||
|
|||
+ (UIImage *)imageWithImage:(UIImage *)image scaledToSize:(CGSize)newSize; |
|||
|
|||
@end |
|||
|
|||
|
|||
|
|||
|
@ -1,34 +0,0 @@ |
|||
// |
|||
// APFViewController.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by 晗羽 on 8/25/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <ToygerService/ToygerService.h> |
|||
#import <BioAuthEngine/DTFFaceViewProtocol.h> |
|||
|
|||
NSString *const kAbnormalClose = @"abnormalclose"; |
|||
@class APBToygerBaseTask; |
|||
@interface APBToygerViewController : UIViewController |
|||
|
|||
@property(nonatomic, strong) DTFLogMonitor *monitor; |
|||
@property(nonatomic, strong) id<DTFFaceViewProtocol> faceView; |
|||
@property(nonatomic, assign) BOOL isClose; |
|||
@property(nonatomic, strong) NSString *platformInfo; |
|||
@property(nonatomic, weak) APBToygerBaseTask *baseTask; |
|||
|
|||
- (void)startFaceRecognition:(AVCaptureVideoPreviewLayer *)layer; |
|||
- (void)addWebGuideView:(UIView *)guideView; |
|||
- (void)handleFaceStateChange:(ToygerMessage)state |
|||
stateTips:(NSString *)tips |
|||
actionGuide:(NSString *)guide |
|||
progress:(CGFloat)progress; |
|||
- (void)showLoadingView; |
|||
- (void)dismissLoadingView; |
|||
- (void)setPhotinusColor:(UIColor *)color; |
|||
- (void)showBlur:(UIImage *)image; |
|||
|
|||
@end |
@ -1,6 +0,0 @@ |
|||
framework module APBToygerFacade { |
|||
umbrella header "APBToygerFacade.h" |
|||
|
|||
export * |
|||
module * { export * } |
|||
} |
@ -1,44 +0,0 @@ |
|||
// |
|||
// AliyunFaaceAuthFacade.h |
|||
// AliyunFaceAuthFacade |
|||
// |
|||
// Created by 汪澌哲 on 2022/11/21. |
|||
// Copyright © 2022 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <DTFUtility/ZIMResponse.h> |
|||
|
|||
NS_ASSUME_NONNULL_BEGIN |
|||
|
|||
@interface AliyunFaceAuthFacade : NSObject |
|||
|
|||
+ (void)init; |
|||
|
|||
+ (void)initSDK; |
|||
|
|||
/* IPV6的初始化接口 只有你的网络环境强制要求是IPV6的时候,才调用initIPv6。 |
|||
*/ |
|||
+ (void)initIPv6; |
|||
|
|||
+ (NSString *)getVersion; |
|||
|
|||
+ (NSString *)getNFCVersion; |
|||
|
|||
+ (void)preload:(NSDictionary *)param completion:(void (^)(BOOL success))completion; |
|||
|
|||
+ (NSDictionary *)getMetaInfo; |
|||
|
|||
+ (NSDictionary *)getNFCMetaInfo; |
|||
|
|||
+ (void)verifyWith:(NSString *)zimId |
|||
extParams:(NSDictionary *)params |
|||
onCompletion:(void (^)(ZIMResponse *response))callback; |
|||
|
|||
+ (void)nfcVerifyWith:(NSString *)zimId |
|||
extParams:(NSDictionary *)params |
|||
onCompletion:(void (^)(ZIMResponse *response))callback; |
|||
|
|||
@end |
|||
|
|||
NS_ASSUME_NONNULL_END |
@ -1,28 +0,0 @@ |
|||
// |
|||
// PoPGatewayNetwork.h |
|||
// ZimDemo |
|||
// |
|||
// Created by sanyuan.he on 2020/1/20. |
|||
// Copyright © 2020 com.. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
NS_ASSUME_NONNULL_BEGIN |
|||
|
|||
@interface PoPGatewayNetwork : NSObject |
|||
|
|||
-(void)bizSendContent:(NSDictionary*)serviceParameters completionBlock:(void (^) (BOOL success,NSURLResponse *response, NSData *data))completionBlock; |
|||
|
|||
-(void)verifySendContent:(NSDictionary*)serviceParameters completionBlock:(void (^) (BOOL success,NSURLResponse *response, NSData *data))completionBlock; |
|||
|
|||
|
|||
-(void)sendInitFaceVerifyContent:(NSDictionary*)serviceParameters keyName:(NSString*)name initKey:(NSString *)initKey initSimpleValue:(NSString *)initSimpleValue completionBlock:(void (^) (BOOL success,NSURLResponse *response, NSData *data))completionBlock; |
|||
|
|||
-(void)sendOCRContent:(NSDictionary*)serviceParameters completionBlock:(void (^) (BOOL success,NSURLResponse *response, NSData *data))completionBlock; |
|||
|
|||
-(void)sendLogContent:(NSDictionary*)serviceParameters extraHeader:(NSDictionary *)header completionBlock:(void (^) (BOOL success,NSURLResponse *response, NSData *data))completionBlock; |
|||
|
|||
@end |
|||
|
|||
NS_ASSUME_NONNULL_END |
Before Width: 26 | Height: 40 | Size: 438 B |
Before Width: 144 | Height: 144 | Size: 1.4 KiB |
Before Width: 144 | Height: 144 | Size: 1.1 KiB |
Before Width: 144 | Height: 144 | Size: 1.1 KiB |
Before Width: 88 | Height: 88 | Size: 646 B |
Before Width: 60 | Height: 60 | Size: 476 B |
@ -1,76 +0,0 @@ |
|||
// |
|||
// AFEAlertView.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by shuhong.xsh on 16/8/3. |
|||
// Copyright © 2016年 DTF. All rights reserved. |
|||
// 弹出框管理类 |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
|
|||
typedef void (^AFEAlertClickBlock) (); |
|||
|
|||
@interface AFEAlertView : NSObject |
|||
|
|||
@property(atomic, assign) BOOL isAlertViewShow; |
|||
|
|||
+(AFEAlertView*) sharedInstance; |
|||
|
|||
/** |
|||
* 当前alert是否显示 |
|||
*/ |
|||
- (BOOL)isAlertViewShow; |
|||
|
|||
/** |
|||
* 显示alert |
|||
* |
|||
* @param title 标题 |
|||
* @param msg 提示信息 |
|||
* @param firstTitle 第一个按钮提示文案(不可为空) |
|||
* @param secondTitle 第二课提示文案(可为空) |
|||
* @param fblk 第一个按钮点击事件callback(不可为空) |
|||
* @param sblk 第二个按钮点击事件callback(可为空) |
|||
*/ |
|||
- (void)displayAlertViewWithTitle:(NSString *)title |
|||
message:(NSString*)msg |
|||
firstButtonTitle:(NSString *)firstTitle |
|||
secondBittonTitle:(NSString *)secondTitle |
|||
firstCallBack:(AFEAlertClickBlock)fblk |
|||
secondCallBack:(AFEAlertClickBlock)sblk |
|||
withVC:(UIViewController*)parentViewController; |
|||
|
|||
|
|||
/** |
|||
* 活体失败 |
|||
* |
|||
*/ |
|||
- (void)displayLivnessFailAlertView:(NSString *)title |
|||
tips:(NSString*)tip |
|||
cancleTip:(NSString *)cancelTips |
|||
retryTip:(NSString *)retryTips |
|||
withCancelCallBack:(AFEAlertClickBlock)cancel |
|||
retryCallBack:(AFEAlertClickBlock)retry |
|||
withVC:(UIViewController*)parentViewController; |
|||
|
|||
/** |
|||
* 展示浮层提示框 |
|||
* @param superview 父view |
|||
* @param title 主文案,只能显示一行 |
|||
* @param detailTitle 副文案,最多显示两行 |
|||
* @param cancelTips 取消按钮文本 |
|||
* @param retryTips 再试一次按钮文本 |
|||
*/ |
|||
- (void)displayCameraPermissionAlert:(UIViewController *)parentViewController |
|||
title:(NSString *)title |
|||
detailTitle:(NSString *)detailTitle |
|||
cancleTip:(NSString *)cancelTips |
|||
retryTip:(NSString *)retryTips |
|||
cancelCallBack:(AFEAlertClickBlock)cancelCall |
|||
setCallBack:(AFEAlertClickBlock)setCall; |
|||
|
|||
// 判断最顶层视图是否是 APBAlertViewController |
|||
- (BOOL)isAPBAlertViewController; |
|||
|
|||
- (UIViewController *)currentViewController; |
|||
|
|||
@end |
@ -1,31 +0,0 @@ |
|||
// |
|||
// AFECircleProgressBar.h |
|||
// CircularView |
|||
// |
|||
// Created by shouyi.www on 2017/6/26. |
|||
// Copyright © 2017年 shouyi.www. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <QuartzCore/QuartzCore.h> |
|||
|
|||
@interface AFECircleProgressBar : CALayer |
|||
|
|||
@property (nonatomic, assign) BOOL clockWise; |
|||
@property (nonatomic, assign) CGFloat animateTime; |
|||
@property (nonatomic, assign) CGFloat endAngle; |
|||
@property (nonatomic, assign) CGFloat progressBarWidth; |
|||
@property (nonatomic, assign) CGFloat maxValue; |
|||
@property (nonatomic, assign) CGFloat minValue; |
|||
@property (nonatomic, assign) CGFloat startAngle; |
|||
@property (nonatomic, copy) NSArray<NSNumber *> *gradientLocation; |
|||
@property (nonatomic, strong) NSMutableArray<UIColor *> *gradientColors; |
|||
@property (nonatomic, assign) CGFloat progress; |
|||
@property (nonatomic, strong) UIColor *progressBarTrackColor; |
|||
|
|||
- (void)setProgress:(CGFloat)percent animation:(BOOL)animated; |
|||
- (void)_updateCircularPath; |
|||
- (void)stopAnimation; |
|||
|
|||
@end |
|||
|
@ -1,70 +0,0 @@ |
|||
// |
|||
// AFECircularView.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 01/11/2016. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <BioAuthEngine/AFEScanViewDelegate.h> |
|||
#import "DTFTextLayer.h" |
|||
#import "AFECircleProgressBar.h" |
|||
#import "DTFUIElementManager.h" |
|||
#import "DTFUploadWaveLayer.h" |
|||
|
|||
@class AFEStatusBar, AFECircleProgressBar, APBBlurView; |
|||
|
|||
@protocol AFECircularViewProtocol <NSObject> |
|||
|
|||
- (void)onStopScan; |
|||
|
|||
@optional |
|||
- (void)playBtn:(UIButton *)btn; |
|||
|
|||
@end |
|||
|
|||
@interface AFECircularView : UIView<AFEScanViewProtocol> |
|||
|
|||
@property (strong, nonatomic) AFEStatusBar *statusBar; |
|||
@property (nonatomic, strong) CALayer *compactLayer; |
|||
@property (nonatomic, strong) CALayer *cameraLayer; |
|||
@property (nonatomic, assign) float cameraStartY; |
|||
@property (nonatomic, assign) float cameraEndY; |
|||
@property (nonatomic, assign) BOOL isWish; |
|||
@property (nonatomic, strong) DTFTextLayer *bottomTipLayer; |
|||
@property (nonatomic, strong) DTFTextLayer *tipLayer; |
|||
@property (nonatomic, strong) CALayer *tipBackgroundLayer; |
|||
@property (nonatomic, strong) DTFTextLayer *powerByLayer; |
|||
@property (nonatomic, strong) AFECircleProgressBar *progressBar; |
|||
@property (nonatomic, strong) DTFUploadWaveLayer *waveLayer; |
|||
@property (nonatomic, strong) DTFTextLayer * stopScanTipLayer; |
|||
@property (nonatomic, weak) id<AFECircularViewProtocol> aFECirViewDelegate; |
|||
@property (nonatomic, strong) UIButton * stopScanTipButton; |
|||
@property (nonatomic, assign) double widthCoefficient; |
|||
@property (nonatomic, copy) NSDictionary *bottomTipAttrDict; |
|||
@property (nonatomic, copy) NSDictionary *tipAttrDict; |
|||
|
|||
- (void)showPercent:(CGFloat)stage; |
|||
- (void)showtip:(NSString *)tip; |
|||
- (void)showBottomTip:(NSString *)bottomTip; |
|||
- (void)addCameraPreviewLayer:(CALayer *)cameraPreviewLayer; |
|||
- (void)powerByLayerHidden:(BOOL)hidden; |
|||
- (void)setBottomTipHidden:(BOOL)hidden; |
|||
- (void)setScreenRotation:(BOOL)isRotation; |
|||
- (void)setPlayBtnIcon:(NSString *)platformInfo; |
|||
|
|||
- (void)setStopScanButtonHidden:(BOOL)hidden; |
|||
- (void)setMaskImage:(UIImage *)bestImage; |
|||
- (void)startWave; |
|||
- (void)stopWave; |
|||
- (void)setAFECirViewDelegate:(id<AFECircularViewProtocol>)delegate; |
|||
- (void)showBrandTip:(NSString *)brandTip; |
|||
- (void)showStopScanTip:(NSString *)stopScanTip; |
|||
- (void)hideViewList; |
|||
- (void)showViewList; |
|||
|
|||
- (void)_updateView; |
|||
|
|||
@end |
|||
|
@ -1,43 +0,0 @@ |
|||
// |
|||
// AFEScanViewDelegate.h |
|||
// FaceEyePrint |
|||
// |
|||
// Created by yukun.tyk on 12/28/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/AFEStatusBar.h> |
|||
|
|||
/** |
|||
* 扫描界面接口,可以展示扫描动画和提示错误消息,错误消息内部做了平滑处理, |
|||
* 1s内只会显示一条错误消息,在这期间传入的消息会做缓存处理,最多缓存1条消息 |
|||
* 如果同时播放声音,声音会与错误消息做同步处理 |
|||
*/ |
|||
|
|||
typedef NS_ENUM(NSInteger, AFEScanViewStatus) { |
|||
AFE_SCAN_SHOWING_ERROR, //正在显示错误 |
|||
AFE_SCAN_SCANNING, //正在扫描 |
|||
AFE_SCAN_HOLDING, //等待显示缓存信息 |
|||
AFE_SCAN_STOPPED, //停止中 |
|||
}; |
|||
|
|||
|
|||
@protocol AFEScanViewProtocol <NSObject> |
|||
|
|||
/** |
|||
* 导航栏回调 |
|||
*/ |
|||
- (void)setDelegate:(id<IStatusBarDelegate>)delegate; |
|||
|
|||
/** |
|||
* 设置导航栏透明度 |
|||
*/ |
|||
- (void)setNaviBarAlpha:(CGFloat)alpha; |
|||
|
|||
/** |
|||
* 设置扫描进度 |
|||
*/ |
|||
- (void)showPercent:(CGFloat)stage; |
|||
|
|||
@end |
@ -1,29 +0,0 @@ |
|||
// |
|||
// AFEStatusBar.h |
|||
// FaceEyePrint |
|||
// |
|||
// Created by yukun.tyk on 12/17/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
|
|||
@protocol IStatusBarDelegate <NSObject> |
|||
- (void)onButtonCancel; |
|||
@optional |
|||
- (void)onSoundStatusChanged:(BOOL)newStatus; |
|||
@end |
|||
|
|||
@interface AFEStatusBar : UIView |
|||
|
|||
- (void)onButtonCancel; |
|||
|
|||
- (void)setDelegate:(id<IStatusBarDelegate>)delegate; |
|||
|
|||
- (void)setTransparent:(CGFloat) alpha; |
|||
|
|||
- (void)setCancelButtonHidden:(BOOL)hidden; |
|||
|
|||
- (void)setCancelButtonImage:(UIImage *)image; |
|||
|
|||
@end |
@ -1,25 +0,0 @@ |
|||
// |
|||
// AFEUploadView.h |
|||
// FaceEyePrint |
|||
// |
|||
// Created by yukun.tyk on 12/14/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
// |
|||
|
|||
|
|||
@interface AFEUploadView : UIView |
|||
|
|||
|
|||
@property (strong, nonatomic) UILabel *label; |
|||
@property (strong, nonatomic) UIView *backgroundView; |
|||
@property (strong, nonatomic) UIImageView *backgroundImageView; |
|||
|
|||
|
|||
- (void)beginUploading; |
|||
- (void)stopUploading; |
|||
- (void)setBackgroundImage:(UIImage *)img; |
|||
|
|||
@end |
@ -1,36 +0,0 @@ |
|||
// |
|||
// AFEWebGuideView.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 3/21/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <BioAuthEngine/AFEStatusBar.h> |
|||
#import <WebKit/WebKit.h> |
|||
@protocol AFEWebGuideViewDelegate <NSObject> |
|||
|
|||
- (void)onButtonBegin:(BOOL)suitableType; |
|||
- (void)onButtonCancel; |
|||
|
|||
@optional |
|||
- (void)onLoadFinished:(BOOL)success; |
|||
- (void)onH5Logger:(NSString *)h5Logger; |
|||
- (void)onButtonAgreement; |
|||
|
|||
@end |
|||
|
|||
|
|||
|
|||
@interface AFEWebGuideView : UIView <IStatusBarDelegate,WKScriptMessageHandler, WKUIDelegate, WKNavigationDelegate> |
|||
|
|||
@property(strong,nonatomic) WKWebView *wkwebView; |
|||
|
|||
@property(nonatomic, assign)BOOL loaded; |
|||
@property(nonatomic, strong)UIViewController *currentViewController; |
|||
|
|||
- (void)setWebGuideViewDelegate:(id<AFEWebGuideViewDelegate>)webGuideViewDeleage; |
|||
- (void)setURL:(NSURL *)url; |
|||
|
|||
@end |
@ -1,18 +0,0 @@ |
|||
// |
|||
// APBAlertController.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 3/2/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
|
|||
|
|||
extern NSString *const kAlertViewAppear; |
|||
extern NSString *const kAlertViewDisappear; |
|||
|
|||
|
|||
@interface APBAlertController : UIAlertController |
|||
|
|||
@end |
@ -1,82 +0,0 @@ |
|||
// |
|||
// APBAuthEngine.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/9/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import "BioAuthFacade.h" |
|||
|
|||
/** |
|||
生物认证类型定义 |
|||
*/ |
|||
typedef enum { |
|||
BIO_FACE = 100, //人脸识别 |
|||
BIO_VOICE = 101, //声纹识别 |
|||
BIO_HANDWRITING = 103, //笔迹识别 |
|||
BIO_IDPAPERS = 107, //重构后的证件宝 |
|||
BIO_CARD = 109, //证件宝 |
|||
BIO_DTF_DOC = 110, //一体化证件宝 |
|||
BIO_FACE_VOICE = 202, //人脸+声纹识别 |
|||
BIO_FACE_EYE = 201, //人脸+眼纹识别 |
|||
BIO_CARD_FACE = 200, //人证合一 |
|||
BIO_TOYGER = 300, //Toyger产品 |
|||
}APBBioType; |
|||
|
|||
/** |
|||
操作类型定义 |
|||
*/ |
|||
typedef enum { |
|||
ACTION_COLLECT = 300, //采集操作 |
|||
ACTION_VERFIY = 301, //验证操作 |
|||
}APBActionType; |
|||
|
|||
@interface APBAuthEngine : NSObject |
|||
|
|||
/** |
|||
* 唤起生物认证之前获取框架meta数据 |
|||
*/ |
|||
+ (NSString *)getBioMetaInfo; |
|||
|
|||
/** |
|||
* 触发下载资源文件 |
|||
*/ |
|||
+ (void)preLoad; |
|||
|
|||
/** |
|||
* 申请生物认证 |
|||
* |
|||
* @param request 生物认证请求 |
|||
* @param callback 生物认证结果回调处理 |
|||
*/ |
|||
- (void)authWithRequest:(APBRequest *)request withCallback:(BioAuthCallback)callback; |
|||
|
|||
/** |
|||
* 让正在进行中的生物认证因子执行某种操作 |
|||
* |
|||
* @param command 操作码 |
|||
* @param callback 执行结果回调 |
|||
*/ |
|||
- (void)exec:(APBCommand *)command withCompletionCallback:(BioAuthExecCallback)callback; |
|||
|
|||
/** |
|||
* 当前是否运行任务 |
|||
*/ |
|||
- (BOOL)isBusy; |
|||
|
|||
/** |
|||
* 生物认证类型版本号 |
|||
* |
|||
* @return 生物认证类型版本号 |
|||
*/ |
|||
- (NSString *)version; |
|||
|
|||
/** |
|||
* 当前运行的认证方式 |
|||
*/ |
|||
+ (NSString *)getAuthFactorName; |
|||
|
|||
@end |
@ -1,18 +0,0 @@ |
|||
// |
|||
// APBAuthFacade.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/9/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
#import <BioAuthEngine/APBEvent.h> |
|||
#import <BioAuthEngine/IBioAuthFactor.h> |
|||
#import <BioAuthEngine/IBioAuthTask.h> |
|||
#import <BioAuthEngine/APBTaskContext.h> |
|||
#import <BioAuthEngine/APBBackwardCommand.h> |
|||
#import <BioAuthEngine/NSTimer+bioAuth.h> |
|||
#import <BioAuthEngine/APBAuthEngine.h> |
|||
#import <BioAuthEngine/BioAuthCommonSetting.h> |
@ -1,57 +0,0 @@ |
|||
// |
|||
// APBBackwardCommand.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/26/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
|
|||
/** |
|||
* 任务队列可要求框架执行的命令 |
|||
*/ |
|||
typedef NS_ENUM(NSInteger, APBBackwardCommandType) { |
|||
BACKWARD_COMMAND_RESTART = 300, //重新开始任务队列,task可以设置params来指定冲新开始的任务下标 |
|||
BACKWARD_COMMAND_ADD_PARALLEL_TASK = 302, //添加并行任务 |
|||
BACKWARD_COMMNAD_GLOBAL_TIMER = 305, //全局timer操作 |
|||
BACKWARD_COMMNAD_UPLOAD_DATA = 400, //合并上传 |
|||
BACKWARD_COMMNAD_STOP_SCANCE = 401, //关闭扫描 |
|||
}; |
|||
|
|||
typedef NS_ENUM(NSInteger, APBTimerCommandType) { |
|||
TIMER_COMMAND_START, //开始全局计时 |
|||
TIMER_COMMAND_CANCEL, //取消全局计时 |
|||
TIMER_COMMAND_PAUSE, //暂停全局计时 |
|||
TIMER_COMMAND_RESUME, //恢复全局计时 |
|||
}; |
|||
|
|||
/** |
|||
* param key {BACKWARD_COMMAND_RESTART} |
|||
* 重新开始命令,指定从第几个任务开始 |
|||
*/ |
|||
extern NSString *const kCommandRestartTaskIndexKey; |
|||
|
|||
/** |
|||
* param key {BACKWARD_COMMAND_ADD_PARALLEL_TASK} |
|||
* 添加并行任务,value为id<IBioAuthTask>,新任务会在新线程中并行运行 |
|||
*/ |
|||
extern NSString *const kAddParallelTaskInstanceKey; |
|||
|
|||
/** |
|||
* 全局计时器操作命令 |
|||
* value为NSNumber{APBTimerCommandType} |
|||
*/ |
|||
extern NSString *const kGlobalTimerCommandKey; |
|||
|
|||
|
|||
@interface APBBackwardCommand : NSObject |
|||
|
|||
@property(nonatomic, assign, readonly)APBBackwardCommandType commandType; |
|||
@property(nonatomic, strong, readonly)NSDictionary *params; |
|||
|
|||
- (instancetype)initWithCommandType:(APBBackwardCommandType)commandType |
|||
withParams:(NSDictionary *)params; |
|||
|
|||
@end |
@ -1,145 +0,0 @@ |
|||
// |
|||
// APBBehavLogModel.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 3/15/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/APBConfig.h> |
|||
|
|||
//JSON |
|||
#ifndef SUPPORT_PB |
|||
|
|||
@interface BisClientInfo : NSObject |
|||
@property (nonatomic,strong) NSString* model; |
|||
@property (nonatomic,strong) NSString* os; |
|||
@property (nonatomic,strong) NSString* osVer; |
|||
@property (nonatomic,strong) NSString* clientVer; |
|||
@end |
|||
|
|||
@interface BisBehavToken : NSObject |
|||
@property (nonatomic,strong) NSString* token; |
|||
@property (nonatomic,strong) NSString* type; |
|||
@property (nonatomic,strong) NSString* sampleMode; |
|||
@property (nonatomic,strong) NSString* uid; |
|||
@property (nonatomic,strong) NSString* apdid; |
|||
@property (nonatomic,strong) NSString* appid; |
|||
@property (nonatomic,strong) NSString* behid; |
|||
@property (nonatomic,strong) NSString* bizid; |
|||
@property (nonatomic,strong) NSString* verifyid; |
|||
@property (nonatomic,strong) NSString* vtoken; |
|||
@property (nonatomic,strong) NSString* apdidToken; |
|||
@end |
|||
|
|||
@interface BisBehavCommon : NSObject |
|||
@property (nonatomic,strong) NSString* invtp; |
|||
@property (nonatomic,strong) NSString* tm; |
|||
@property (nonatomic,strong) NSString* retry; |
|||
@end |
|||
|
|||
@interface BisBehavTask : NSObject |
|||
@property (nonatomic,strong) NSString* name; |
|||
@property (nonatomic,strong) NSString* idx; |
|||
@property (nonatomic,strong) NSString* dur; |
|||
@property (nonatomic,strong) NSString* quality; |
|||
@property (nonatomic,strong) NSString* extInfo; |
|||
@end |
|||
|
|||
@interface BisBehavLog : NSObject |
|||
@property (nonatomic,strong) BisClientInfo* clientInfo; |
|||
@property (nonatomic,strong) BisBehavToken* behavToken; |
|||
@property (nonatomic,strong) BisBehavCommon* behavCommon; |
|||
@property (nonatomic,strong) NSMutableArray * behavTask; |
|||
@end |
|||
|
|||
//PB |
|||
#else |
|||
|
|||
#ifdef __cplusplus |
|||
extern "C"{ |
|||
#endif |
|||
#import <APProtocolBuffers/ProtocolBuffers.h> |
|||
|
|||
#ifdef __cplusplus |
|||
} |
|||
#endif |
|||
@class BisBehavCommon; |
|||
@class BisBehavLog; |
|||
@class BisBehavTask; |
|||
@class BisBehavToken; |
|||
@class BisClientInfo; |
|||
|
|||
@interface BisClientInfo : APDPBGeneratedMessage |
|||
@property (readonly) BOOL hasModel; |
|||
@property (readonly) BOOL hasOs; |
|||
@property (readonly) BOOL hasOsVer; |
|||
@property (readonly) BOOL hasClientVer; |
|||
@property (nonatomic,strong) NSString* model; |
|||
@property (nonatomic,strong) NSString* os; |
|||
@property (nonatomic,strong) NSString* osVer; |
|||
@property (nonatomic,strong) NSString* clientVer; |
|||
@end |
|||
|
|||
@interface BisBehavToken : APDPBGeneratedMessage |
|||
@property (readonly) BOOL hasToken; |
|||
@property (readonly) BOOL hasType; |
|||
@property (readonly) BOOL hasSampleMode; |
|||
@property (readonly) BOOL hasUid; |
|||
@property (readonly) BOOL hasApdid; |
|||
@property (readonly) BOOL hasAppid; |
|||
@property (readonly) BOOL hasBehid; |
|||
@property (readonly) BOOL hasBizid; |
|||
@property (readonly) BOOL hasVerifyid; |
|||
@property (readonly) BOOL hasVtoken; |
|||
@property (readonly) BOOL hasApdidToken; |
|||
@property (nonatomic,strong) NSString* token; |
|||
@property (nonatomic) SInt32 type; |
|||
@property (nonatomic) SInt32 sampleMode; |
|||
@property (nonatomic,strong) NSString* uid; |
|||
@property (nonatomic,strong) NSString* apdid; |
|||
@property (nonatomic,strong) NSString* appid; |
|||
@property (nonatomic,strong) NSString* behid; |
|||
@property (nonatomic,strong) NSString* bizid; |
|||
@property (nonatomic,strong) NSString* verifyid; |
|||
@property (nonatomic,strong) NSString* vtoken; |
|||
@property (nonatomic,strong) NSString* apdidToken; |
|||
@end |
|||
|
|||
@interface BisBehavCommon : APDPBGeneratedMessage |
|||
@property (readonly) BOOL hasInvtp; |
|||
@property (readonly) BOOL hasTm; |
|||
@property (readonly) BOOL hasRetry; |
|||
@property (nonatomic,strong) NSString* invtp; |
|||
@property (nonatomic,strong) NSString* tm; |
|||
@property (nonatomic,strong) NSString* retry; |
|||
@end |
|||
|
|||
@interface BisBehavTask : APDPBGeneratedMessage |
|||
@property (readonly) BOOL hasName; |
|||
@property (readonly) BOOL hasIdx; |
|||
@property (readonly) BOOL hasDur; |
|||
@property (readonly) BOOL hasQuality; |
|||
@property (readonly) BOOL hasExtInfo; |
|||
@property (nonatomic,strong) NSString* name; |
|||
@property (nonatomic,strong) NSString* idx; |
|||
@property (nonatomic)SInt32 dur; |
|||
@property (nonatomic)SInt32 quality; |
|||
@property (nonatomic,strong) NSString* extInfo; |
|||
@end |
|||
|
|||
@interface BisBehavLog : APDPBGeneratedMessage |
|||
@property (readonly) BOOL hasClientInfo; |
|||
@property (readonly) BOOL hasBehavToken; |
|||
@property (readonly) BOOL hasBehavCommon; |
|||
@property (readonly) BOOL hasExtAttr; |
|||
@property (nonatomic,strong) BisClientInfo* clientInfo ; |
|||
@property (nonatomic,strong) BisBehavToken* behavToken ; |
|||
@property (nonatomic,strong) BisBehavCommon* behavCommon ; |
|||
@property (nonatomic,strong) NSMutableArray<BisBehavTask*>* behavTask ; |
|||
@property (nonatomic,strong) PBMapStringString* extAttr ; |
|||
@end |
|||
|
|||
#endif |
|||
|
@ -1,70 +0,0 @@ |
|||
// |
|||
// APBProtocol.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 3/15/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/APBConfig.h> |
|||
|
|||
//若不支持pb |
|||
#ifndef SUPPORT_PB |
|||
|
|||
@interface BisClientConfigContent : NSObject |
|||
@property (nonatomic,strong) NSString* token; |
|||
@property (nonatomic,strong) NSString* type; |
|||
@property (nonatomic,strong) NSString* sampleMode; |
|||
@property (nonatomic,strong) NSString* androidcfg; |
|||
@property (nonatomic,strong) NSString* ioscfg; |
|||
@property (nonatomic,strong) NSString* h5cfg; |
|||
@end |
|||
|
|||
@interface BisClientConfig : NSObject |
|||
@property (nonatomic,strong) BisClientConfigContent* content; |
|||
@property (nonatomic,strong) NSString* sign; |
|||
@end |
|||
|
|||
//若支持PB |
|||
#else |
|||
|
|||
#ifdef __cplusplus |
|||
extern "C"{ |
|||
#endif |
|||
#import <APProtocolBuffers/ProtocolBuffers.h> |
|||
|
|||
#ifdef __cplusplus |
|||
} |
|||
#endif |
|||
|
|||
@interface BisClientConfigContent : APDPBGeneratedMessage |
|||
|
|||
@property (readonly) BOOL hasToken; |
|||
@property (readonly) BOOL hasType; |
|||
@property (readonly) BOOL hasSampleMode; |
|||
@property (readonly) BOOL hasAndroidcfg; |
|||
@property (readonly) BOOL hasIoscfg; |
|||
@property (readonly) BOOL hasH5cfg; |
|||
|
|||
@property (nonatomic,strong) NSString* token ; |
|||
@property (nonatomic) SInt32 type ; |
|||
@property (nonatomic) SInt32 sampleMode ; |
|||
@property (nonatomic,strong) NSString* androidcfg ; |
|||
@property (nonatomic,strong) NSString* ioscfg ; |
|||
@property (nonatomic,strong) NSString* h5cfg ; |
|||
@end |
|||
|
|||
@interface BisClientConfig : APDPBGeneratedMessage |
|||
|
|||
@property (readonly) BOOL hasContent; |
|||
@property (readonly) BOOL hasContentBytes; |
|||
@property (readonly) BOOL hasSign; |
|||
|
|||
@property (nonatomic,strong) NSString* content ; |
|||
@property (nonatomic,strong) BisClientConfigContent* contentBytes ; |
|||
@property (nonatomic,strong) NSString* sign ; |
|||
@end |
|||
|
|||
#endif |
|||
|
@ -1,22 +0,0 @@ |
|||
// |
|||
// APBBisRequestBuilder.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by 晗羽 on 21/04/2018. |
|||
// Copyright © 2018 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/APBBisUploadGwRequest.h> |
|||
#import <BioAuthEngine/APBBehavLogModel.h> |
|||
|
|||
@interface APBBisRequestBuilder : NSObject |
|||
|
|||
+(APBBisUploadGwRequest *) buildRequestwithpubKey:(NSString *) pubKey |
|||
token:(NSString *) bistoken |
|||
contentData:(NSString *)content |
|||
behaveLog:(BisBehavLog *)behavlog |
|||
andCypherData:(NSString *) aesKeyData |
|||
encrypt:(BOOL) encrypt; |
|||
|
|||
@end |
@ -1,47 +0,0 @@ |
|||
//com..bis.common.service.facade.gw.model.upload.BisJsonUploadGwRequest |
|||
/* |
|||
*generation date:Mon Mar 14 10:35:56 CST 2016 |
|||
*tool version:5.0.2 |
|||
*template version:4.1.1 |
|||
*/ |
|||
|
|||
#import <BioAuthEngine/APBConfig.h> |
|||
|
|||
#ifndef SUPPORT_PB |
|||
|
|||
@interface APBBisUploadGwRequest : NSObject |
|||
|
|||
@property(nonatomic, strong) NSString *bisToken; |
|||
@property(nonatomic, strong) NSString *content; |
|||
@property(nonatomic, strong) NSString *contentSig; |
|||
@property(nonatomic, strong) NSString *behavLog; |
|||
@property(nonatomic, strong) NSString *behavLogSig; |
|||
|
|||
@end |
|||
|
|||
#else |
|||
|
|||
#ifdef __cplusplus |
|||
extern "C"{ |
|||
#endif |
|||
#import <APProtocolBuffers/ProtocolBuffers.h> |
|||
|
|||
#ifdef __cplusplus |
|||
} |
|||
#endif |
|||
|
|||
@interface APBBisUploadGwRequest : APDPBGeneratedMessage |
|||
@property (readonly) BOOL hasBisToken; |
|||
@property (readonly) BOOL hasContent; |
|||
@property (readonly) BOOL hasContentSig; |
|||
@property (readonly) BOOL hasBehavLog; |
|||
@property (readonly) BOOL hasBehavLogSig; |
|||
|
|||
@property (nonatomic,strong) NSString* bisToken ; |
|||
@property (nonatomic,strong) NSData* content ; |
|||
@property (nonatomic,strong) NSData* contentSig ; |
|||
@property (nonatomic,strong) NSData* behavLog ; |
|||
@property (nonatomic,strong) NSData* behavLogSig ; |
|||
@end |
|||
|
|||
#endif |
@ -1,28 +0,0 @@ |
|||
// |
|||
// APBCommand.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/26/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
/** |
|||
* 业务方可以执行的任务类型 |
|||
*/ |
|||
typedef NS_ENUM(NSInteger, APBCommandType) { |
|||
COMMAND_QUIT = 100, //业务方强制退出 |
|||
COMMAND_CLOSE_UPLOADPAGE = 101, //业务方关闭上传界面 |
|||
COMMAND_BIS_RETURN = 102, //业务方传递bis服务器返回结果,或网络错误结果 |
|||
}; |
|||
|
|||
@interface APBCommand : NSObject |
|||
|
|||
@property(nonatomic, assign, readonly)APBCommandType commandType; //操作类型 |
|||
@property(nonatomic, strong, readonly)NSDictionary *params; //操作扩展参数,可以为空 |
|||
|
|||
- (instancetype)initWithCommandType:(APBCommandType)commandType |
|||
withParams:(NSDictionary *)params; |
|||
|
|||
@end |
@ -1,22 +0,0 @@ |
|||
// |
|||
// APBConfig.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 3/8/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
//是否支持protobuffer |
|||
//#define SUPPORT_PB |
|||
//#define USE_FPP |
|||
|
|||
|
|||
#ifdef SUPPORT_PB |
|||
static const int kRPCFormat = 1; |
|||
#else |
|||
static const int kRPCFormat = 0; |
|||
#endif |
|||
|
|||
|
@ -1,16 +0,0 @@ |
|||
// |
|||
// APBDTFUploadTostView.h |
|||
// APBToygerFacade |
|||
// |
|||
// Created by richard on 28/02/2018. |
|||
// Copyright © 2018 DTF. All rights reserved. |
|||
// |
|||
#import <UIKit/UIKit.h> |
|||
@interface APBDTFUploadToastView : UIView |
|||
|
|||
@property(nonatomic,strong)UIActivityIndicatorView* indicator; |
|||
|
|||
- (instancetype)initWithFrame:(CGRect)frame; |
|||
|
|||
- (void)andSubViewWithFrame:(CGRect)frame AndText:(NSString *)text andStartY:(float)startY; |
|||
@end |
@ -1,34 +0,0 @@ |
|||
// |
|||
// APBDeviceInfo.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by 晗羽 on 28/02/2018. |
|||
// Copyright © 2018 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <UIKit/UIKit.h> |
|||
|
|||
@interface APBDeviceInfo : NSObject |
|||
|
|||
@property(nonatomic,strong)NSString* dtfDeviceToken; |
|||
|
|||
+ (instancetype)getInstance; |
|||
|
|||
//获取语言类型 |
|||
- (NSInteger)languageCode; |
|||
|
|||
- (NSString *)languageName; |
|||
|
|||
//在某些未初始化设备指纹的地方提供初始化接口 |
|||
- (void)initDeviceInfo; |
|||
|
|||
//获取apdidtoken |
|||
- (NSString *)getApdidToken; |
|||
|
|||
|
|||
- (BOOL)loadDylib; |
|||
|
|||
- (UIViewController *)currentVC; |
|||
|
|||
@end |
@ -1,43 +0,0 @@ |
|||
// |
|||
// APBEvent.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/26/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
@class APBCommand; |
|||
|
|||
extern NSString *const kKeepUploadPageKey; //extInfo key: 生物识别产品是否要保持上传界面,默认不保持 |
|||
|
|||
/** |
|||
* task可以响应的事件类型 |
|||
*/ |
|||
typedef NS_ENUM(NSInteger, APBEventType) { |
|||
EVENT_QUIT = 100, //退出 |
|||
EVENT_CLOSE_UPLOADPAGE = 101, //业务方关闭上传界面 |
|||
EVENT_BIS_RETURN = 102, //bis服务器返回 |
|||
EVENT_SYSTEM_INTERRUPT = 200, //系统中断 |
|||
EVENT_SYSTEM_INTERRUPT_RESUME = 201, //系统中断恢复 |
|||
EVENT_GLOBAL_TIMEOUT = 202, //全局超时 |
|||
EVENT_TASK_TIMEOUT = 203, //task超时 |
|||
EVENT_ALERT_APPEAR = 204, //alert框显示 |
|||
EVENT_ALERT_DISAPPEAR = 205, //alert框退出 |
|||
EVENT_ABNORMAL_CLOSE = 206, //异常退出 |
|||
EVENT_SYSTEM_ENTER_FOREGROUND = 207, //后台返回前台 |
|||
}; |
|||
|
|||
|
|||
@interface APBEvent : NSObject |
|||
|
|||
@property(nonatomic, assign, readonly) APBEventType eventType; |
|||
@property(nonatomic, strong, readonly) NSDictionary *params; |
|||
|
|||
- (instancetype)initWithEventType:(APBEventType)eventType |
|||
withParam:(NSDictionary *)params; |
|||
|
|||
+ (instancetype)eventWithCommand:(APBCommand *)command; |
|||
|
|||
@end |
@ -1,27 +0,0 @@ |
|||
// |
|||
// APBGatewayFacade.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by richard on 26/02/2018. |
|||
// Copyright © 2018 com..iphoneclient.DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
typedef void (^apRpcCompletionBlock)(BOOL success, NSObject *result); |
|||
|
|||
@interface APBGatewayFacade : NSObject |
|||
|
|||
|
|||
/** |
|||
* rpc结果回调 |
|||
* |
|||
* @param success 网络交互是否成功(不代表服务端返回的结果) |
|||
* @param result 服务端返回的结果 |
|||
*/ |
|||
-(void)request:(id)bisUploadGwRequest |
|||
withConfig:(NSDictionary *)configDict |
|||
completionBlock:(apRpcCompletionBlock)blk; |
|||
|
|||
@end |
|||
|
@ -1,43 +0,0 @@ |
|||
// |
|||
// APBLogger.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 12/8/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/APBConfig.h> |
|||
|
|||
|
|||
|
|||
extern NSString *const kDebugNotiName; //log信息发送的通知名称 |
|||
|
|||
|
|||
#define __FILE_NAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |
|||
|
|||
#ifdef DEBUG //debug |
|||
// std::cout<<"\n[BIOAUTH]:" << [[NSString stringWithFormat:fmt, ##__VA_ARGS__]cStringUsingEncoding:NSUTF8StringEncoding] \ |
|||
// <<", function:" << __PRETTY_FUNCTION__ << ", file:" << __FILE_NAME__ << ", line:" << __LINE__ << ", date:" << \ |
|||
// __DATE__ << ", time:" <<__TIME__<<std::endl; |
|||
#define BIOAUTH_LOG(fmt, ...) \ |
|||
{ \ |
|||
NSLog(@"[BIOAUTH]: %@, function:%s, file:%s, line:%d, date:%s, time:%s",\ |
|||
[NSString stringWithFormat:fmt, ##__VA_ARGS__], __PRETTY_FUNCTION__, __FILE_NAME__, __LINE__, __DATE__, __TIME__);\ |
|||
} |
|||
|
|||
#define LOG_DBG(fmt, ...) BIOAUTH_LOG(fmt, ##__VA_ARGS__); |
|||
#define LOG_INFO(fmt, ...) BIOAUTH_LOG(fmt, ##__VA_ARGS__); |
|||
#define LOG_ERROR(fmt, ...) BIOAUTH_LOG(fmt, ##__VA_ARGS__); |
|||
|
|||
#else //release |
|||
|
|||
#define LOG_DBG(fmt, ...) |
|||
#define LOG_INFO(fmt, ...) |
|||
#define LOG_ERROR(fmt, ...) |
|||
|
|||
#endif |
|||
|
|||
|
|||
|
|||
|
@ -1,36 +0,0 @@ |
|||
// |
|||
// APBProxy.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by shouyi.www on 2017/3/29. |
|||
// Copyright © 2017年 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
@interface APBProxy : NSProxy |
|||
|
|||
/** |
|||
The proxy target. |
|||
*/ |
|||
@property (nonatomic, weak, readonly) id target; |
|||
|
|||
/** |
|||
Creates a new weak proxy for target. |
|||
|
|||
@param target Target object. |
|||
|
|||
@return A new proxy object. |
|||
*/ |
|||
- (instancetype)initWithTarget:(id)target; |
|||
|
|||
/** |
|||
Creates a new weak proxy for target. |
|||
|
|||
@param target Target object. |
|||
|
|||
@return A new proxy object. |
|||
*/ |
|||
+ (instancetype)proxyWithTarget:(id)target; |
|||
|
|||
@end |
@ -1,24 +0,0 @@ |
|||
// |
|||
// APBRequest.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/9/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
@class UIViewController; |
|||
|
|||
extern NSString *const kKeepUploadPageKey; //extInfo key: 生物识别产品是否要保持上传界面,默认不保持 |
|||
|
|||
@interface APBRequest : NSObject |
|||
|
|||
@property(nonatomic, weak, readonly)UIViewController *vc; //显示的viewController |
|||
@property(nonatomic, copy, readonly)NSString *protocol; //服务端下发的配置参数 |
|||
@property(nonatomic, strong, readonly)NSDictionary *extInfo; //扩展业务参数 |
|||
|
|||
- (instancetype)initWithViewController:(UIViewController *)vc |
|||
protocolInfo:(NSString *)protocol |
|||
extInfo:(NSDictionary *)ext; |
|||
|
|||
@end |
@ -1,63 +0,0 @@ |
|||
// |
|||
// APBResponse.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/9/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
/** |
|||
结果码定义 |
|||
*/ |
|||
typedef enum { |
|||
APB_RESULT_SUCCESS = 500, //操作成功(不弹框) |
|||
APB_RESULT_SUCCESS_VALIDATE_UPLOAD = 501, //操作成功(不弹框),合并上传 |
|||
|
|||
APB_RESULT_CAMERA_PERMISSION_DENIED = 100, //无摄像头权限(弹框) |
|||
APB_RESULT_CAMERA_DEVICE_UNSUPPORTED = 101, //摄像头不支持(弹框) |
|||
APB_RESULT_CAMERA_CPU_UNSUPPORTED = 102, //CPU不支持(弹框) |
|||
APB_RESULT_DEVICE_UNSUPPORTED = 103, //设备不支持(弹框) |
|||
APB_RESULT_UNDEFINED_ERROR = 104, //其他异常(不弹框) |
|||
|
|||
APB_RESULT_CAMERA_INIT_FAILED = 200, //摄像头初始化失败(不弹框) |
|||
APB_RESULT_INVALID_ARGUMENT = 201, //无效的业务参数(不弹框) |
|||
APB_RESULT_INTERRUPT = 202, //操作中断(弹框) |
|||
APB_RESULT_TIMEOUT = 203, //操作超时(弹框) |
|||
APB_RESULT_RESOURCE_ABSENCE = 204, //缺少资源文件(不弹框) |
|||
APB_RESULT_SYSTEM_EXCEPT = 205, //系统异常(不弹框) |
|||
APB_RESULT_ENGINE_EXCEPT = 206, //框架内部错误(不弹框) |
|||
APB_RESULT_NETWORK_TIMEOUT = 207, //网络超时(弹框) |
|||
APB_RESULT_SERVER_FAIL = 208, //服务端错误(弹框) |
|||
APB_RESULT_RETRY_LIMIT = 209, //重试次数达到上限(弹框) |
|||
APB_RESULT_AUTH_REJECT = 210, //用户拒绝人脸授权(弹框) |
|||
APB_RESULT_NETWORK_FAIL = 211, //网络出错 |
|||
|
|||
APB_RESULT_USE_PASSWORD = 300, //用户选择账密登录(弹框) |
|||
APB_RESULT_OTHER_VERIFICATION = 303, //其他核身方式 |
|||
APB_RESULT_LOCALVERIFY_FAIL = 304, //本地比对失败 |
|||
}APBResultType; |
|||
|
|||
@interface APBResponse : NSObject |
|||
|
|||
@property(nonatomic, assign)APBResultType resultType; //结果码 |
|||
@property(nonatomic, copy)NSString *failReason; //失败原因 |
|||
@property(nonatomic, copy)NSString *token; //bis token |
|||
@property(nonatomic, strong)NSMutableDictionary *successResult; //成功结果 |
|||
@property (nonatomic,copy) NSString* retCodeSub ; |
|||
@property (nonatomic,copy) NSString* retMessageSub ; |
|||
|
|||
- (instancetype)initWithResultType:(APBResultType)type |
|||
failReason:(NSString *)reason |
|||
token:(NSString *)token |
|||
retCodeSub:(NSString *)retCodeSub |
|||
retMessageSub:(NSString *)retMessageSub |
|||
successResult:(NSMutableDictionary *)result; |
|||
|
|||
- (instancetype)initWithResultType:(APBResultType)type |
|||
failReason:(NSString *)reason |
|||
token:(NSString *)token |
|||
successResult:(NSMutableDictionary *)result; |
|||
|
|||
@end |
@ -1,31 +0,0 @@ |
|||
// |
|||
// APBTaskContext.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/27/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import "APBResponse.h" |
|||
|
|||
/** |
|||
任务状态定义 |
|||
*/ |
|||
typedef enum { |
|||
STATE_NOT_RUNNING, //未运行 |
|||
STATE_RUNNING, //运行态 |
|||
STATE_FINISHED, //任务结束 |
|||
}APBTaskState; |
|||
|
|||
@interface APBTaskContext : NSObject |
|||
|
|||
@property(nonatomic, assign)APBTaskState state; //任务状态 |
|||
@property(nonatomic, assign)APBResultType resultCode; //任务结果码 |
|||
@property(nonatomic, copy)NSString *failReason; //任务失败原因 |
|||
@property(nonatomic, strong)NSMutableDictionary *successResult; //任务成功结果 |
|||
|
|||
@property (nonatomic,strong) NSString* retCodeSub ; //产品结果明细,不影响决策 |
|||
@property (nonatomic,strong) NSString* retMessageSub ; //retMessageSub对应的文案 |
|||
|
|||
@end |
@ -1,44 +0,0 @@ |
|||
// |
|||
// APFBehavlogManager.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by yukun.tyk on 9/8/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
@class BisBehavLog, BisBehavTask; |
|||
|
|||
@interface APBToygerBehavlogManager : NSObject |
|||
|
|||
/** |
|||
* @param config 配置参数,各种id和token |
|||
*/ |
|||
- (instancetype)initWithConfig:(NSDictionary *)config; |
|||
|
|||
/** |
|||
* 添加行为日志 |
|||
* |
|||
* @param task 任务 |
|||
*/ |
|||
- (void)addTask:(BisBehavTask *)task; |
|||
|
|||
/** |
|||
* clearTask |
|||
* |
|||
* |
|||
*/ |
|||
- (void)clearTask; |
|||
/** |
|||
* 创建行为日志 |
|||
* |
|||
* @param invtp 触发类型 |
|||
* @param retry 重试次数 |
|||
* |
|||
* @return 行为日志 |
|||
*/ |
|||
- (BisBehavLog *)generateLogWithInvokeType:(NSString *)invtp |
|||
withRetry:(NSInteger)retry; |
|||
|
|||
@end |
@ -1,41 +0,0 @@ |
|||
// |
|||
// APBioBisConfigManager.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by 晗羽 on 1/7/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import "APBToygerRemoteConfig.h" |
|||
|
|||
@interface APBToygerBioBisConfigManager : NSObject |
|||
/** |
|||
* 初始化biscfg |
|||
* |
|||
* @param biscfg pb/json格式 |
|||
* |
|||
* @return 生成一个配置对象 |
|||
*/ |
|||
- (instancetype)initWithBisConfig:(NSString *)biscfg; |
|||
/** |
|||
* bisToken |
|||
* |
|||
* @return 服务端下放的bistoken,每次人脸识别服务端的ID |
|||
*/ |
|||
- (NSString * )bisToken; |
|||
|
|||
- (NSString * )ioscfg; |
|||
|
|||
- (NSString * )iosvoicecfg; |
|||
|
|||
- (APBToygerRemoteConfig *)bisConfig; |
|||
|
|||
- (int) sampleMode; |
|||
|
|||
- (BOOL) isLogin; |
|||
|
|||
- (NSString *) apBioSecPublicKey; |
|||
|
|||
+ (NSDictionary *)getDictfrom:(NSString *) jsonStr; |
|||
@end |
@ -1,124 +0,0 @@ |
|||
// |
|||
// APFDataCenter.h |
|||
// APFaceDetectBiz |
|||
// |
|||
// Created by yukun.tyk on 9/8/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/BioAuthEngine.h> |
|||
|
|||
@class BisBehavTask; |
|||
|
|||
@protocol APBToygerDataCenterDelegate <NSObject> |
|||
|
|||
/** |
|||
* 收到response的回调 |
|||
* @param success rpc是否成功 |
|||
* @param retCode 结果码 |
|||
* @param msg 结果信息 |
|||
* @param ext 扩展信息 |
|||
*/ |
|||
- (void)didFinishUploadWithSuccess:(BOOL)success |
|||
retCode:(NSString *)retCode |
|||
retMessage:(NSString *)msg |
|||
extInfo:(NSString *)ext; |
|||
@end |
|||
|
|||
|
|||
@interface APBToygerDataCenter : NSObject |
|||
|
|||
@property (nonatomic, copy) NSString *pubkey; |
|||
/** |
|||
* 初始化 |
|||
* |
|||
* @param config 配置参数 |
|||
*/ |
|||
- (instancetype)initWithConfig:(NSDictionary *)config; |
|||
|
|||
|
|||
|
|||
#ifdef SUPPORT_PB |
|||
|
|||
/** |
|||
* 添加采集数据 |
|||
* |
|||
* @param monitorImage 监控照片 |
|||
* @param panoImage 全景图,若该参数指定,将替换之前的全景图 |
|||
*/ |
|||
- (void)addMonitorImage:(UIImage *)monitorImage |
|||
replacePanoImage:(NSData *)panoImage |
|||
andCypherKeyData:(NSData *)cypherKey; |
|||
|
|||
#else |
|||
|
|||
/** |
|||
* 添加采集数据 |
|||
* |
|||
* @param monitorImage 监控照片 |
|||
* @param panoImage 全景图,若该参数指定,将替换之前的全景图 |
|||
*/ |
|||
- (void)addMonitorImage:(UIImage *)monitorImage |
|||
replacePanoImage:(NSString *)panoImage |
|||
andCypherKeyData:(NSString *)cypherKey; |
|||
|
|||
#endif |
|||
|
|||
/** |
|||
* 清除采集数据 |
|||
* |
|||
* @param monitorImage 监控照片 |
|||
* @param panoImage 全景图, |
|||
*/ |
|||
- (void)clearMonitorImage:(BOOL)monitor |
|||
panoImage:(BOOL)pano; |
|||
|
|||
/** |
|||
* 添加行为日志 |
|||
* |
|||
* @param task 任务 |
|||
*/ |
|||
- (void)addBehavTask:(BisBehavTask *)task; |
|||
|
|||
/** |
|||
* clearTask |
|||
* |
|||
* |
|||
*/ |
|||
- (void)clearTask; |
|||
/** |
|||
* clear |
|||
* |
|||
* |
|||
*/ |
|||
- (void)clear; |
|||
|
|||
- (BOOL)hasFaceData; |
|||
|
|||
/** |
|||
* 建立上传数据request |
|||
* |
|||
* @param monitor 是否上传监控照片 |
|||
* @param behav 是否上传行为日志 |
|||
* @param pano 是否上传全景图 |
|||
* @param type 触发类型 |
|||
* @param retry 重试次数 |
|||
*/ |
|||
- (APBBisUploadGwRequest *)buildUploadRequestWithMonitorImage:(BOOL)monitor |
|||
behavLog:(BOOL)behav |
|||
panoImage:(BOOL)pano |
|||
invokeType:(NSString *)type |
|||
retryCnt:(NSInteger)retry; |
|||
|
|||
- (APBBisUploadGwRequest *)buildUploadRequestWithContent:(NSData *)data |
|||
cypherKey:(NSData *)cypherKeyData |
|||
invokeType:(NSString *)type |
|||
retryCnt:(NSInteger)retry; |
|||
|
|||
/** |
|||
* 设置delegate |
|||
*/ |
|||
- (void)setDelegate:(id<APBToygerDataCenterDelegate>)delegate; |
|||
|
|||
@end |
@ -1,169 +0,0 @@ |
|||
// |
|||
// APFRemoteConfig.h |
|||
// AppArch |
|||
// |
|||
// Created by yukun.tyk on 8/29/16. |
|||
// Copyright © 2016 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <CoreGraphics/CGBase.h> |
|||
|
|||
|
|||
@class APBToygerSceneEnv, APBToygerVideo, APFRemoteConfig, APBToygerCollect, APBDragonflyLivenessConfig,APBGeminiLivenessConfig; |
|||
@class APBToygerNavigatePage, APBToygerAlgorithm, APBToygerTips; |
|||
|
|||
/** |
|||
* 协议配置 |
|||
*/ |
|||
@interface APBToygerRemoteConfig : NSObject |
|||
|
|||
@property(nonatomic, strong)APBToygerSceneEnv *sceneEnv; |
|||
@property(nonatomic, strong)APBToygerNavigatePage *navi; |
|||
@property (nonatomic, copy) NSDictionary *suitable; |
|||
@property(nonatomic, strong)APBToygerCollect *coll; |
|||
@property (nonatomic, copy) NSDictionary *upload; |
|||
@property (nonatomic, copy) NSDictionary *algorithm; |
|||
@property(nonatomic, strong)APBToygerTips * faceTips; |
|||
@property(nonatomic, assign)NSInteger env; |
|||
@property(nonatomic, assign)NSInteger ui; |
|||
@property(nonatomic, copy)NSString *sdkVersion; |
|||
@property(nonatomic, strong)APBToygerVideo * video; |
|||
@property(nonatomic, copy)NSString *verifyMode; |
|||
|
|||
+(APBToygerRemoteConfig *)defaultConfig; |
|||
+ (void)loadFromJSON:(NSString *)json toObject:(NSObject*) obj; |
|||
@end |
|||
|
|||
/** |
|||
* 场景配置 |
|||
*/ |
|||
@interface APBToygerSceneEnv : NSObject |
|||
|
|||
@property(nonatomic, copy)NSString *sceneCode; |
|||
@property(nonatomic, copy)NSString *sceneType; |
|||
|
|||
+(APBToygerSceneEnv *)defaultConfig; |
|||
|
|||
@end |
|||
|
|||
/** |
|||
* 引导页配置 |
|||
*/ |
|||
@interface APBToygerNavigatePage : NSObject |
|||
|
|||
@property(nonatomic, assign)BOOL enable; |
|||
@property(nonatomic, copy)NSString *url; |
|||
|
|||
+ (APBToygerNavigatePage *)defaultConfig; |
|||
|
|||
@end |
|||
|
|||
/** |
|||
* 采集场景配置 |
|||
*/ |
|||
@interface APBToygerCollect : NSObject |
|||
|
|||
@property(nonatomic, assign)NSInteger retry; |
|||
@property(nonatomic, assign)CGFloat minangle; |
|||
@property(nonatomic, assign)CGFloat maxangle; |
|||
@property(nonatomic, assign)CGFloat near; |
|||
@property(nonatomic, assign)CGFloat far; |
|||
@property(nonatomic, assign)NSInteger minlight; |
|||
@property(nonatomic, assign)NSInteger time; |
|||
@property(nonatomic, assign)NSInteger light; |
|||
@property(nonatomic, assign)NSInteger imageIndex; |
|||
@property(nonatomic, assign)BOOL uploadLivePic; |
|||
@property(nonatomic, assign)NSInteger uploadMonitorPic; |
|||
@property(nonatomic, assign)BOOL progressbar; |
|||
@property(nonatomic, assign)BOOL uploadBestPic; |
|||
@property(nonatomic, assign)BOOL uploadPoseOkPic; |
|||
@property(nonatomic, assign)BOOL uploadBigPic; |
|||
@property(nonatomic, assign)BOOL authorization; |
|||
@property(nonatomic, assign)NSInteger mineDscore; |
|||
@property(nonatomic, assign)NSInteger mineVideo; |
|||
@property(nonatomic, strong)NSArray<NSString *> *actionMode; |
|||
|
|||
+ (APBToygerCollect *)defaulConfig; |
|||
|
|||
@end |
|||
|
|||
|
|||
|
|||
/** |
|||
* 视频设置 |
|||
*/ |
|||
@interface APBToygerVideo : NSObject |
|||
|
|||
@property(nonatomic, assign)NSInteger width; |
|||
@property(nonatomic, assign)NSInteger height; |
|||
@property(nonatomic, assign)NSInteger duration; |
|||
@property(nonatomic, assign)NSInteger bitrate; |
|||
@property(nonatomic, assign)NSInteger fps; |
|||
@property(nonatomic, assign)BOOL enable; ; |
|||
|
|||
+(APBToygerVideo *)defaultConfig; |
|||
|
|||
@end |
|||
|
|||
|
|||
|
|||
@interface APBToygerAlertConfig : NSObject |
|||
|
|||
@property(nonatomic, copy)NSString * title; |
|||
@property(nonatomic, copy)NSString * message; |
|||
@property(nonatomic, copy)NSString * leftButtonText; |
|||
@property(nonatomic, copy)NSString * rightButtonText; |
|||
@property(nonatomic, assign)NSInteger returnCode; |
|||
|
|||
|
|||
@end |
|||
|
|||
@interface APBToygerTips : NSObject |
|||
|
|||
//required |
|||
@property(nonatomic, strong)APBToygerAlertConfig * timeoutAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * failAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * limitAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * networkErrorAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * interruptAlert; |
|||
|
|||
@property (nonatomic, copy) NSString *sceneText; |
|||
@property (nonatomic, copy) NSString *bottomText; |
|||
@property (nonatomic, copy) NSString *topText_rectwidth; |
|||
@property (nonatomic, copy) NSString *topText_noface; |
|||
@property (nonatomic, copy) NSString *topText_blur; |
|||
@property (nonatomic, copy) NSString *topText_light; |
|||
@property (nonatomic, copy) NSString *topText_pitch; |
|||
@property (nonatomic, copy) NSString *topText_yaw; |
|||
@property (nonatomic, copy) NSString *topText_quality; |
|||
@property (nonatomic, copy) NSString *topText_integrity; |
|||
@property (nonatomic, copy) NSString *topText_max_rectwidth; |
|||
@property (nonatomic, copy) NSString *topText_stay; |
|||
@property (nonatomic, copy) NSString *topText_openness; |
|||
@property (nonatomic, copy) NSString *topText_blink; |
|||
@property (nonatomic, copy) NSString *topText_left_yaw; |
|||
@property (nonatomic, copy) NSString *topText_right_yaw; |
|||
@property (nonatomic, copy) NSString *topText_mouth_open; |
|||
@property (nonatomic, copy) NSString *brandTip; |
|||
@property (nonatomic, copy) NSString *stopScanTip; |
|||
|
|||
|
|||
@property (nonatomic, copy) NSString *garfield_guideTitle; |
|||
@property (nonatomic, copy) NSString *garfield_guideMsg; |
|||
|
|||
//optional |
|||
|
|||
@property(nonatomic, strong)APBToygerAlertConfig * unsurpportAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * systemVersionErrorAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * systemErrorAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * cameraNoPermissionAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * exitAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * authorizationAlert; |
|||
@property(nonatomic, strong)APBToygerAlertConfig * failNoRetryAlert; |
|||
|
|||
+(APBToygerTips *)defaultConfig; |
|||
|
|||
@end |
|||
|
|||
|
@ -1,431 +0,0 @@ |
|||
// |
|||
// BioAuthCommonSetting.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by shouyi.www on 2017/5/19. |
|||
// Copyright © 2017年 DTF. All rights reserved. |
|||
// |
|||
|
|||
#ifndef BioAuthCommonSetting_h |
|||
#define BioAuthCommonSetting_h |
|||
|
|||
typedef NS_ENUM(NSUInteger, BioAuthAlertType) { |
|||
BioAuthALert_Unknown, |
|||
BioAuthAlert_Unsupport, |
|||
BioAuthAlert_WrongSystemVersion, |
|||
BioAuthAlert_SystemError, |
|||
BioAuthAlert_NoCameraPermission, |
|||
BioAuthAlert_Exit, |
|||
BioAuthAlert_TimeOut, |
|||
BioAuthAlert_Fail, |
|||
BioAuthAlert_Limit, |
|||
BioAuthAlert_NetworkError, |
|||
BioAuthAlert_Interrupt, |
|||
}; |
|||
|
|||
static NSString *const kBioAuthTipMoveClose = @"请离近一点"; |
|||
static NSString *const kBioAuthTipAdjustGesture = @"请调整姿势"; |
|||
static NSString *const kBioAuthTipMoveAway = @"请离远一点"; |
|||
static NSString *const kBioAuthTipKeepStill = @"请保持不动"; |
|||
static NSString *const kBioAuthStatusOk = @"Okay"; |
|||
static NSString *const kBioAuthStatusTooFar = @"too far"; |
|||
static NSString *const kBioAuthStatusTooClose = @"too close"; |
|||
static NSString *const kBioAuthStatusNoEye = @"no eye"; |
|||
|
|||
static NSString *const kBioAuthEyeStatus = @"eyestatus"; |
|||
static NSString *const kBioAuthGyroStatus = @"gyrostatus"; |
|||
static NSString *const kBioAuthEVVer = @"evVer"; |
|||
static NSString *const kBioAuthBVer = @"bEva"; |
|||
static NSString *const kBioAuthFEVer = @"feVer"; |
|||
static NSString *const kBioAuthEyeVerify = @"eyeverify"; |
|||
static NSString *const kBioAuthBisAction = @"bis_action"; |
|||
static NSString *const kBioAuthDetectEndTimeCost = @"kBioAuthDetectEndTimeCost"; |
|||
static NSString *const kBioAuthLiveBodyStartTime = @"kBioAuthLiveBodyStartTime"; |
|||
static NSString *const kBioAuthMonitorLoadDefaultConfig = @"loadDefaultConfig"; |
|||
|
|||
static NSString *const kBioAuthParamNetworkSuccess = @"networkSuccess"; |
|||
static NSString *const kBioAuthParamServerReturnCode = @"serverReturnCode"; |
|||
static NSString *const kBioAuthParamNetworkResult = @"networkResult"; |
|||
static NSString *const kBioAuthParamSceneCode = @"scenecode"; |
|||
static NSString *const kBioAuthParamLivenessLevel = @"livenesslevel"; |
|||
static NSString *const kBioAuthParamFail = @"failed"; |
|||
static NSString *const kBioAuthParamDiagnosticLogging = @"DiagnosticLogging"; |
|||
static NSString *const kBioAuthParamEyeScore = @"eyescore"; |
|||
static NSString *const kBioAuthParamHasFace = @"hasface"; |
|||
static NSString *const kBioAuthParamPicsScore = @"picscore"; |
|||
static NSString *const kBioAuthParamFaceScore = @"facescore"; |
|||
static NSString *const kBioAuthParamIKnown = @"我知道了"; |
|||
static NSString *const kBioAuthParamDeviceModelError = @"errorDeviceModel"; |
|||
static NSString *const kBioAuthParamLightDetection = @"lightdetection"; |
|||
static NSString *const kBioAuthParamLight = @"light"; |
|||
static NSString *const kBioAuthParamFace = @"face"; |
|||
static NSString *const kBioAuthParamQuality = @"quality"; |
|||
static NSString *const kBioAuthParamEyeDistance = @"eyedistance"; |
|||
static NSString *const kBioAuthParamFaceFarOrNear = @"faceFarorNear"; |
|||
static NSString *const kBioAuthParamFGROAngle = @"fgyroangle"; |
|||
static NSString *const kBioAuthParamOpenPage = @"openPage"; |
|||
static NSString *const kBioAuthParamServerFail = @"serverFail"; |
|||
static NSString *const kBioAuthParamNetworkFail = @"networkFail"; |
|||
static NSString *const kBioAuthParamNetworkError1006 = @"NetworkError1006"; |
|||
static NSString *const kBioAuthParamFaceFail = @"faceFail"; |
|||
static NSString *const kBioAuthParamUploadImageDataNil = @"uploadImageDataNil"; |
|||
static NSString *const kBioAuthParamAlertViewTitle = @"kBioAuthParamAlertViewTitle"; |
|||
static NSString *const kBioAuthParamAlertViewMessage = @"kBioAuthParamAlertViewMessage"; |
|||
static NSString *const kBioAuthParamAlertViewFirstButtonTitle = @"kBioAuthParamAlertViewFirstButtonTitle"; |
|||
static NSString *const kBioAuthParamAlertViewSecondButtonTitle = @"kBioAuthParamAlertViewSecondButtonTitle"; |
|||
static NSString *const kBioAuthParamAlertViewFirstCallback = @"kBioAuthParamAlertViewFirstCallback"; |
|||
static NSString *const kBioAuthParamAlertViewSecondCallback = @"kBioAuthParamAlertViewSecondCallback"; |
|||
static NSString *const kBioAuthParamAlertViewLogReason = @"kBioAuthParamAlertViewLogReason"; |
|||
|
|||
static NSString *const kBioAuthParamInterrupt = @"interrupt"; |
|||
static NSString *const kBioAuthParamCancel = @"cancel"; |
|||
static NSString *const kBioAuthParamLoadAlgorithmErr = @"loadAlgorithmErr"; |
|||
static NSString *const kBioAuthParamErrorMicriphone = @"errorMicrophone"; |
|||
static NSString *const kBioAuthParamVidCnt = @"vidcnt"; |
|||
static NSString *const kBioAuthParamFQuality = @"fquality"; |
|||
static NSString *const kBioAuthParamFCToken = @"fcToken"; |
|||
static NSString *const kBioAuthParamF = @"f"; |
|||
static NSString *const kBioAuthParamFC = @"fc"; |
|||
//static NSString *const kBioAuthFaceUrlPrefix = @"prefs://"; |
|||
|
|||
static NSString *const kBioAuthEVAssetsBundle = @"EyePrintAssets.bundle"; |
|||
|
|||
static NSString *const kBioAuthDirDocuments = @"Documents"; |
|||
static NSString *const kBioAuthDirBioAuth = @"BioAuth"; |
|||
static NSString *const kBioAuthDirAssetsFile = @"EyeVerify_Asset_Files"; |
|||
static NSString *const kBioAuthFailReasonEyeDetector = @"初始化eyeDetector失败"; |
|||
|
|||
static NSString *const kBioAuthFailReasonCreateTaskFail = @"创建眼纹检测任务失败"; |
|||
static NSString *const kBioAuthFailReasonCreateGyroTaskFail = @"创建陀螺仪检测任务失败"; |
|||
static NSString *const kBioAuthFailReasonFailToGetScanTask = @"扫脸任务无法获取scanTask"; |
|||
static NSString *const kBioAuthFailReasonViewControllerFail = @"无法获取viewController"; |
|||
static NSString *const kBioAuthFailReasonNoCameraPermission = @"没有摄像头权限"; |
|||
static NSString *const kBioAuthFailReasonWrongSystemVersion = @"操作系统版本太低"; |
|||
static NSString *const kBioAuthFailReasonUnsupportedDevice = @"不支持的设备"; |
|||
|
|||
static NSString *const kBioAuthTipSystemNotSupport = @"当前系统不支持刷脸"; |
|||
static NSString *const kBioAuthTipWrongSysVersion = @"刷脸仅在iOS8及以上版本可用"; |
|||
static NSString *const kBioAuthTipCameraNoPermission = @"无法启用相机"; |
|||
static NSString *const kBioAuthTipOpenCameraPermissionPath = @"请到“设置-隐私-相机”开启权限"; |
|||
static NSString *const kBioAuthTipCameraPermissionOpenNow = @"立即开启"; |
|||
static NSString *const kBioAuthTipQuit = @"退出"; |
|||
static NSString *const kBioAuthTipOk = @"确定"; |
|||
static NSString *const kBioAuthTipCancel = @"取消"; |
|||
static NSString *const kBioAuthTipOneMoreTime = @"再试一次"; |
|||
static NSString *const kBioAuthTipMakeSureToQuit = @"确定退出么?"; |
|||
static NSString *const kBioAuthTipOneFaceToPass = @"露个脸就能通过"; |
|||
static NSString *const kBioAuthTipTimeOut = @"操作超时"; |
|||
static NSString *const kBioAuthTipFaceFrontMakePassMoreEasier = @"提示:正对手机,更容易成功"; |
|||
static NSString *const kBioAuthTipFaceScanFail = @"刷脸失败"; |
|||
static NSString *const kBioAuthTipOperationFail = @"本次操作失败"; |
|||
static NSString *const kBioAuthTipNetworkFail = @"网络不给力"; |
|||
static NSString *const kBioAuthTipInterrupt = @"验证中断"; |
|||
|
|||
|
|||
static NSString *const kAFETimeoutMessage = @"kTimeoutMessage"; |
|||
|
|||
static NSString *const kBioAuthUnsupportedMedelMessage = @"kUnsupportedMedelMessage"; |
|||
static NSString *const kAFEUnsupportedSystemMessage = @"kUnsupportedSystemMessage"; |
|||
|
|||
static NSString *const kAFENoCameraPermissionOpen = @"kNoCameraPermissionOpen"; |
|||
static NSString *const kAFENoCameraPermissionCancel = @"kNoCameraPermissionCancel"; |
|||
static NSString *const kAEFNoCameraPermissionTitle = @"kNoCameraPermissionTitle"; |
|||
static NSString *const kAFENoCameraPermissionDetail = @"kNoCameraPermissionDetail"; |
|||
|
|||
static NSString *const kAFELocalizedNetworkError = @"kNetworkErrorMessage"; |
|||
|
|||
|
|||
|
|||
static NSString *const kAFELocalizedFaceFailTitle = @"kFaceFailTitle"; |
|||
static NSString *const kAFELocalizedFaceFailMsg = @"kFaceFailMessage"; |
|||
static NSString *const kAFELocalizedCancelTitle = @"kCancelTitle"; |
|||
static NSString *const kAFELocalizedCancelLoginMsg = @"kCancelLoginMessage"; |
|||
static NSString *const kAFELocalizedCancelSampleMsg = @"kCancelSampleMessage"; |
|||
|
|||
static NSString *const kCherryAglErrorTips = @"kCherryAglErrorTips"; |
|||
static NSString *const kCherryOtherLoginButton = @"kCherryOtherLoginButton"; |
|||
static NSString *const kCherryLoginHomeEvent = @"kCherryLoginHomeEvent"; |
|||
static NSString *const kCherrySampleHomeEvent = @"kCherrySampleHomeEvent"; |
|||
static NSString *const kCherryExitButton = @"kCherryExitButton"; |
|||
static NSString *const kCherryOpenButton = @"kCherryOpenButton"; |
|||
static NSString *const kCherryRetryButton = @"kCherryRetryButton"; |
|||
static NSString *const kContextRetryLimit = @"kRetryLimit"; |
|||
static NSString *const kCherryTimeout = @"kCherryTimeout"; |
|||
static NSString *const kCherryTipMessage = @"kCherryTipMessage"; |
|||
static NSString *const kCherryDetectTask = @"cherryDetectTask"; |
|||
static NSString *const kCherryAdjustPosTip = @"kcherryAdjustPosTip"; |
|||
static NSString *const kCherryNofaceTip = @"kCherryNofaceTip"; |
|||
static NSString *const kCherryCancelLogin = @"kCherryCancelLogin"; |
|||
static NSString *const kCherryCancelSample = @"kCherryCancelSample"; |
|||
static NSString *const kCherryCancelSampleMessage = @"kCherryCancelSampleMessage"; |
|||
|
|||
static NSString *const kAFEStatusUpdate = @"statusupdate"; |
|||
|
|||
static NSString *const kSceneRetryLimit = @"retryLimit"; |
|||
static NSString *const kAFERetryLimit = @"retryLimit"; |
|||
|
|||
static NSString *const kCherryUnderExposure = @"kCherryUnderExposure"; |
|||
static NSString *const kCherryFaceTooSmall = @"kCherryFaceTooSmall"; |
|||
static NSString *const kCherryFaceIncomplete = @"kCherryFaceIncomplete"; |
|||
static NSString *const kCherryYawFail = @"kCherryYawFail"; |
|||
static NSString *const kCherryTremble = @"kCherryTremble"; |
|||
|
|||
static NSString *const kCherryCancleButton = @"kCherryCancleButton"; |
|||
static NSString *const kCherryEnterButton = @"kCherryEnterButton"; |
|||
static NSString *const kIKnowButton = @"kIKnowButton"; |
|||
static NSString *const kNoMicPermissionTitle = @"kNoMicPermissionTitle"; |
|||
static NSString *const kNoMicPermissionMsg = @"kNoMicPermissionMsg"; |
|||
|
|||
static NSString *const kSceneCircularViewFail = @"AFECircularViewFail"; |
|||
|
|||
static NSString *const kCherryDetectFlagBlink = @"kCherryDetectFlagBlink"; |
|||
static NSString *const kCherryDetectFlagPosQuality = @"kCherryDetectFlagPosQuality"; |
|||
static NSString *const kCherryDetectFlagPosCond = @"kCherryDetectFlagPosCond"; |
|||
|
|||
static NSString *const kAFENetworkType = @"networkType"; |
|||
static NSString *const kBioAuthParamSensor = @"sensor"; |
|||
static NSString *const kBioAuthParamTotalSteps = @"tsteps"; |
|||
static NSString *const kBioAuthNotifiUploadTaskBeginNotiName = @"afeuploadtaskbegin"; |
|||
static NSString *const kBioAuthParamAlertShowKey = @"alert"; |
|||
static NSString *const kBioAuthParamCaptureView = @"captureView"; |
|||
static NSString *const kBioAuthParamScanView = @"scanview"; |
|||
static NSString *const kBioAuthPramBizInfoForKey = @"biz"; |
|||
static NSString *const kBioAuthParamStepsUploaded = @"upsteps"; |
|||
static NSString *const kBioAuthParamEnvStatus = @"envstatus"; |
|||
static NSString *const kBioAuthParamRetryNum = @"retry"; |
|||
static NSString *const kBioAuthParamCurrentTransactionSteps = @"transactionSteps"; |
|||
static NSString *const kBioAuthParamSound = @"sound"; |
|||
static NSString *const kBioAuthParamUID = @"UID"; |
|||
static NSString *const kBioAuthParamAction = @"SCENE_ID"; |
|||
static NSString *const kBioAuthParamCurrentView = @"currentView"; |
|||
|
|||
static NSString * const kAPFParentViewControllerKey = @"parentViewController"; |
|||
static NSString * const kAPFCurrentViewControllerKey = @"currentViewController"; |
|||
|
|||
static NSString * const kAPFCurrentRetryCntKey = @"currentRetryCnt"; |
|||
static NSString * const kAPFSoundStatusKey = @"soundStatus"; |
|||
static NSString * const kAPFIsLoginModeKey = @"isLoginMode"; |
|||
static NSString * const kAPFBisConfigModelKey = @"APFBisConfigModel"; |
|||
static NSString * const kAPFBisTokenKey = @"bis_token"; |
|||
static NSString * const kAPFUploadViewPic = @"kUploadViewPic"; |
|||
static NSString * const kAPFAcionListKey = @"kActionList"; |
|||
static NSString * const kAPFPresentTimeKey = @"kPresentTime"; |
|||
|
|||
static NSString *const kBioAuthApdidKey = @"APDID"; |
|||
static NSString *const kBioAuthTokenidKey = @"TOKEN_ID"; |
|||
static NSString *const kBioAuthSceneIdKey = @"sceneId"; |
|||
static NSString *const kBioAuthSceneNameKey = @"SCENE_NAME"; |
|||
static NSString *const kBioAuthAppidKey = @"appID"; |
|||
static NSString *const kBioAuthExtInfo = @"extInfo"; |
|||
static NSString *const kBioAuthParamType = @"type"; |
|||
static NSString *const kBioAuthParamSampleMode = @"samplemode"; |
|||
static NSString *const kBioAuthParamPubKey = @"pubkey"; |
|||
static NSString *const kBioAuthParamPermissionKey = @"audioPermissionKey"; |
|||
static NSString *const kBioAuthParamBizInfoKey = @"bizinfo"; |
|||
static NSString *const kBioAuthParamBestImage = @"bestimage"; |
|||
static NSString *const kBioAuthParamImageQuality = @"bestimagequality"; |
|||
static NSString *const kBioAuthParamMineCount = @"minecount"; |
|||
static NSString *const kBioAuthParamLoggingLevel = @"LoggerLevel"; |
|||
static NSString *const kBioAuthParamLevelHigh = @"level1"; |
|||
static NSString *const kBioAuthParamLevelMedium = @"level2"; |
|||
static NSString *const kBioAuthParamLevelLow = @"level3"; |
|||
|
|||
static NSString *const kBioAuthParamNLSAppKey = @"121312323a123-ios"; |
|||
static NSString *const kBioAuthParamAsrRequest = @"asr_usr_id"; |
|||
static NSString *const kBioAuthParamNLSSVCUrl = @"ws://speechapi.m.taobao.com"; |
|||
static NSString *const kBioAuthParamFppVer = @"fppVer"; |
|||
static NSString *const kBioAuthParamFVer = @"fVer"; |
|||
static NSString *const kBioAuthParamFaceDetect = @"facedetect"; |
|||
static NSString *const kBioAuthParamProduct = @"product"; |
|||
static NSString *const kBioAuthParamCherry = @"cherry"; |
|||
static NSString *const kBioAuthParamStock = @"stock"; |
|||
static NSString *const kBioAuthEngine = @"BioAuthEngine"; |
|||
static NSString *const kBioAuthFaceNavigation = @"faceNavigation"; |
|||
static NSString *const kBioAuthTypeHTML = @"htm"; |
|||
static NSString *const kBioAuthTypeBundle = @"bundle"; |
|||
|
|||
static NSString *const kAPFWaveUploadKey = @"waveUploadKey"; |
|||
static NSString *const kAPFCameraViewKey = @"cameraViewKey"; |
|||
|
|||
static NSString *const kAFELocalizedLoginFailTooManyTimes = @"kLoginFailTooManyTimesMessage"; |
|||
static NSString *const kAFELoginFailTooManyTimesMessage = @"kLoginFailTooManyTimesMessage"; |
|||
|
|||
static NSString *const kAFELocalizedLock = @"kLockMessage"; |
|||
static NSString *const kAFELockMessage = @"kLockMessage"; |
|||
|
|||
static NSString *const kAFELocalizedRetryTitle = @"kRetryTitle"; |
|||
static NSString *const kAFERetryTitle = @"kRetryTitle"; |
|||
|
|||
static NSString *const kAFELocalizedPassWdTitle = @"kUsePasswordTitle"; |
|||
static NSString *const kAFEUsePasswordTitle = @"kUsePasswordTitle"; |
|||
|
|||
static NSString *const kAFELocalizedExitTitle = @"kExitTitle"; |
|||
static NSString *const kAFEExitTitle = @"kExitTitle"; |
|||
|
|||
static NSString *const kAFELocalizedIKnowTitle = @"kIKnowTitle"; |
|||
static NSString *const kAFEIKnowTitle = @"kIKnowTitle"; |
|||
|
|||
static NSString *const kBioAuthParamTimeout = @"timeout"; |
|||
static NSString *const kBioAuthParamClickXBack = @"clickXback"; |
|||
static NSString *const kBioAuthParamSystemInterrupt = @"systemInterrupt"; |
|||
static NSString *const kBioAuthParamProcessInterrupt = @"processInterrupt"; |
|||
static NSString *const kBioAuthParamCameraPermission = @"cameraPermission"; |
|||
static NSString *const kBioAuthParamCameraOpenFail = @"cameraOpenFail"; |
|||
static NSString *const kBioAuthParamErrorSystemVersion = @"errorSystemVersion"; |
|||
static NSString *const kBioAuthParamReason = @"reason"; |
|||
static NSString *const kBioAuthParamMoniton = @"motion"; |
|||
static NSString *const kBioAuthParamFrameMoniton = @"frameMotion"; |
|||
static NSString *const kBioAuthParamChoose = @"choose"; |
|||
static NSString *const kBioAuthParamTimeCost = @"timecost"; |
|||
static NSString *const kBioAuthParamReturnCode = @"returnCode"; |
|||
static NSString *const kBioAuthParamFrontCamera = @"frontCamera"; |
|||
static NSString *const kBioAuthParamBackCamera = @"backCamera"; |
|||
static NSString *const kBioAuthParamMemory = @"memory"; |
|||
static NSString *const kBioAuthParamProcessorNum = @"processorNum"; |
|||
static NSString *const kBioAuthParamTotalStorage = @"totalStorage"; |
|||
static NSString *const kBioAuthParamAvailableStorage = @"availableStorage"; |
|||
static NSString *const kBioAuthParamBisToken = @"bistoken"; |
|||
static NSString *const kBioAuthParamAlgorithmIntTime = @"inttime"; |
|||
static NSString *const kBioAuthParamAlgorithmName = @"name"; |
|||
static NSString *const kBioAuthParamUploadRequest = @"uploadrequest"; |
|||
static NSString *const kBioAuthParamBisCfg = @"biscfg"; |
|||
static NSString *const kBioAuthParamUserId = @"USER_ID"; |
|||
static NSString *const kBioAuthParamBioType = @"bioType"; |
|||
static NSString *const kBioAuthParamLogType = @"logType"; |
|||
static NSString *const kBioAuthParamUIVersion = @"ui_version"; |
|||
static NSString *const kBioAuthFailReasonUserQuit = @"用户主动退出"; |
|||
static NSString *const kBioAuthVerifyId = @"verifyId"; |
|||
static NSString *const kBioAuthParamToygerInit = @"toygerInit"; |
|||
static NSString *const kBioAuthParamToygerFileState = @"toygerFileState"; |
|||
static NSString *const kBioAuthFailInsufficientDisk = @"手机存储空间不足"; |
|||
static NSString *const kBioAuthFailNoPermissionRecording = @"没有录音权限"; |
|||
|
|||
#pragma mark - 埋点相关 - |
|||
|
|||
static NSString *const kBioAuthMonitorAlertAppear = @"AlertAppear"; |
|||
static NSString *const kBioAuthMonitorAlertAppearUCID = @"UC-YWRLSB-161114-21"; |
|||
|
|||
static NSString *const kBioAuthMonitorAlertClose = @"AlertChoose"; |
|||
static NSString *const kBioAuthMonitorAlertCloseUCID = @"UC-YWRLSB-161114-22"; |
|||
|
|||
static NSString *const kBioAuthMonitorDetectionStart = @"EnterDetectionStart"; |
|||
static NSString *const kBioAuthMonitorDetectionStartUCID = @"UC-YWRLSB-161114-07"; |
|||
|
|||
static NSString *const kBioAuthMonitorDetectionEnd = @"EnterDetectionEnd"; |
|||
static NSString *const kBioAuthMonitorDetectionEndUCID = @"UC-YWRLSB-161114-08"; |
|||
|
|||
static NSString *const kBioAuthMonitorDetectionCondStart = @"detectCondStart"; |
|||
static NSString *const kBioAuthMonitorDetectionCondStartUCID = @"UC-YWRLSB-161114-09"; |
|||
|
|||
static NSString *const kBioAuthMonitorSensorSlice = @"sensorSlice"; |
|||
static NSString *const kBioAuthMonitorSensorSliceUCID = @"UC-YWRLSB-161114-20"; |
|||
|
|||
static NSString *const kBioAuthMonitorPoseStart = @"poseStart"; |
|||
static NSString *const kBioAuthMonitorPoseStartUCID = @"UC-YWRLSB-161114-11"; |
|||
|
|||
static NSString *const kBioAuthMonitorLiveBodyStart = @"livebodyStart"; |
|||
static NSString *const kBioAuthMonitorLiveBodyStartUCID = @"UC-YWRLSB-161114-13"; |
|||
|
|||
static NSString *const kBioAuthMonitorLiveBodyEnd = @"livebodyEnd"; |
|||
static NSString *const kBioAuthMonitorLiveBodyEndUCID = @"UC-YWRLSB-161114-14"; |
|||
|
|||
static NSString *const kBioAuthMonitorPromptCopyPoint = @"promptCopyPoint"; |
|||
static NSString *const kBioAuthMonitorPromptCopyPointUCID = @"UC-YWRLSB-161114-17"; |
|||
|
|||
static NSString *const kBioAuthParamEvent = @"event"; |
|||
|
|||
static NSString *const kBioAuthMonitorPoseCheckEnd = @"poseCheckEnd"; |
|||
static NSString *const kBioAuthMonitorPoseCheckEndUCID = @"UC-YWRLSB-161114-28"; |
|||
|
|||
static NSString *const kBioAuthMonitorAlgorithm = @"Algorithm"; |
|||
static NSString *const kBioAuthMonitorAlgorithmUCID = @"UC-YWRLSB-161114-27"; |
|||
|
|||
static NSString *const kBioAuthMonitorFromH5 = @"fromH5"; |
|||
|
|||
static NSString *const kBioAuthMonitorEnterGuidePage = @"enterGuidePage"; |
|||
static NSString *const kBioAuthMonitorEnterGuidePageUCID = @"UC-YWRLSB-161114-02"; |
|||
|
|||
static NSString *const kBioAuthMonitorExitGuidePage = @"exitGuidePage"; |
|||
static NSString *const kBioAuthMonitorExitGuidePageUCID = @"UC-YWRLSB-161114-03"; |
|||
|
|||
static NSString *const kBioAuthMonitorClickStartCapture = @"clickStartCapture"; |
|||
static NSString *const kBioAuthMonitorClickStartCaptureForSuitable = @"suitable"; |
|||
static NSString *const kBioAuthMonitorClickStartCaptureForSuitableError = @"suitableError"; |
|||
static NSString *const kBioAuthMonitorClickStartCaptureUCID = @"UC-YWRLSB-161114-04"; |
|||
|
|||
static NSString *const kBioAuthMonitorEntrySDK = @"entrySDK"; |
|||
static NSString *const kBioAuthMonitorEntrySDKUCID = @"UC-YWRLSB-161114-01"; |
|||
|
|||
static NSString *const kBioAuthMonitorCallbackVerifySystem = @"callbackVerifySystem"; |
|||
static NSString *const kBioAuthMonitorCallbackVerifySystemUCID = @"UC-YWRLSB-161114-23"; |
|||
|
|||
static NSString *const kBioAuthMonitorExitSDK = @"exitSDK"; |
|||
static NSString *const kBioAuthMonitorExitSDKUCID = @"UC-YWRLSB-161114-24"; |
|||
|
|||
static NSString *const kBioAuthMonitorFaceMine = @"facemine"; |
|||
static NSString *const kBioAuthMonitorFaceMineUCID = @"UC-DXSPRLSB-161206-10"; |
|||
|
|||
static NSString *const kBioAuthMonitorBrightness = @"brightness"; |
|||
static NSString *const kBioAuthMonitorBrightnessUCID = @"UC-YWRLSB-161207-01"; |
|||
|
|||
static NSString *const kBioAuthLoadLocalGuidePage = @"loadLocalGuidePage"; |
|||
static NSString *const kBioAuthLoadLocalGuidePageUCID = @"UC-YWRLSB-160422-02"; |
|||
|
|||
static NSString *const kBioAuthUploadEnd = @"uploadEnd"; |
|||
static NSString *const kBioAuthUploadEndUCID = @"UC-YWRLSB-161114-16"; |
|||
|
|||
static NSString *const kBioAuthuploadAvarriable = @"uploadAvarriable"; |
|||
static NSString *const kBioAuthuploadAvarriableUCID = @"UC-YWRLSB-161114-25"; |
|||
|
|||
static NSString *const kBioAuthUploadStart = @"uploadStart"; |
|||
static NSString *const kBioAuthUploadStartUCID = @"UC-YWRLSB-161114-15"; |
|||
|
|||
static NSString *const kBioAuthDetectCondEnd = @"detectCondEnd"; |
|||
static NSString *const kBioAuthDetectCondEndUCID = @"UC-YWRLSB-161114-10"; |
|||
|
|||
static NSString *const kBioAuthDetectFaceSuccess = @"detectFaceSuccess"; |
|||
static NSString *const kBioAuthDetectFaceSuccessUCID = @"UC-YWRLSB-161114-28"; |
|||
|
|||
static NSString *const kBioAuthDetectEyeSuccess = @"detectEyeSuccess"; |
|||
static NSString *const kBioAuthDetectEyeSuccessUCID = @"UC-YWRLSB-161114-29"; |
|||
|
|||
static NSString *const kBioAuthMonitorEyeLivebodyDetectStart = @"eyeLivebodyDetectStart"; |
|||
static NSString *const kBioAuthMonitorEyeLivebodyDetectStartUCID = @"UC-YWRLSB-161114-30"; |
|||
|
|||
static NSString *const kBioAuthMonitorEyeLivebodyDetectEnd = @"eyeLivebodyDetectEnd"; |
|||
static NSString *const kBioAuthMonitorEyeLivebodyDetectEndUCID = @"UC-YWRLSB-161114-31"; |
|||
|
|||
static NSString *const kBioAuthMonitorEyeSlice = @"eyeSlice"; |
|||
static NSString *const kBioAuthMonitorEyeSliceUCID = @"UC-YWRLSB-161114-19"; |
|||
static NSString *const kBioAuthCardFace = @"cardface"; |
|||
|
|||
#pragma mark - 埋点相关 - |
|||
|
|||
static NSString *const kBioAuthMonitorFcEntrySDK = @"fcEntrySDK"; |
|||
static NSString *const kBioAuthMonitorFcEntrySDKUCID = @"UC-RZHY-170118-01"; |
|||
|
|||
static NSString *const kBioAuthMonitorFcGetParameter = @"fcGetParameters"; |
|||
static NSString *const kBioAuthMonitorFcGetParameterUCID = @"UC-RZHY-170118-02"; |
|||
|
|||
static NSString *const kBioAuthMonitorFcFaceCallbackBisSystem = @"fcFaceCallbackBisSystem"; |
|||
static NSString *const kBioAuthMonitorFcFaceCallbackBisSystemUCID = @"UC-RZHY-170118-27"; |
|||
|
|||
static NSString *const kBioAuthMonitorFcFaceGetServerResult = @"fcFaceGetServerResult"; |
|||
static NSString *const kBioAuthMonitorFcFaceGetServerResultUCID = @"UC-RZHY-170118-28"; |
|||
|
|||
static NSString *const kBioAuthMonitorFcCallbackVerifySystem = @"fcCallbackVeritySystem"; |
|||
static NSString *const kBioAuthMonitorFcCallbackVerifySystemUCID = @"UC-RZHY-170118-29"; |
|||
|
|||
static NSString *const kBioAuthFcExitSDK = @"fcExitSDK"; |
|||
static NSString *const kBioAuthFcExitSDKUCID = @"UC-RZHY-170118-30"; |
|||
|
|||
static NSString *const kBioAuthValidateRequestKey = @"validateRequest"; |
|||
static NSString *const kBioAuthMergeValidateKey = @"mergeValidate"; |
|||
|
|||
#pragma mark - 网络相关 - |
|||
static NSString *const kAPBGWOperationType = @"oprationType"; //NSString, oprationType |
|||
static NSString *const kAPBGWReturnType = @"returnType"; //NSString, returnType |
|||
static NSString *const kAPBGWGatewayURL = @"gatewayURL"; //NSString, gatewayURL |
|||
static NSString *const kAPBGWHeadConfig = @"headConfig"; |
|||
#endif /* BioAuthCommonSetting_h */ |
|||
|
@ -1,58 +0,0 @@ |
|||
// |
|||
// BioAuthEngine.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by richard on 20/09/2017. |
|||
// Copyright © 2017 DTF. All rights reserved. |
|||
// |
|||
|
|||
#ifndef BioAuthEngine_h |
|||
#define BioAuthEngine_h |
|||
|
|||
#import <BioAuthEngine/APBBisUploadGwRequest.h> |
|||
#import <BioAuthEngine/APBBehavLogModel.h> |
|||
#import <BioAuthEngine/APBBisProtocol.h> |
|||
#import <BioAuthEngine/NSTimer+bioAuth.h> |
|||
|
|||
#import <BioAuthEngine/APBAlertController.h> |
|||
#import <BioAuthEngine/UIImage+bioAuth.h> |
|||
|
|||
#import <BioAuthEngine/AFEUploadView.h> |
|||
#import <BioAuthEngine/AFEScanViewDelegate.h> |
|||
#import <BioAuthEngine/AFEAlertView.h> |
|||
#import <BioAuthEngine/AFECircularView.h> |
|||
#import <BioAuthEngine/AFEWebGuideView.h> |
|||
#import <BioAuthEngine/APBDTFUploadToastView.h> |
|||
|
|||
#import <BioAuthEngine/AFEStatusBar.h> |
|||
#import <BioAuthEngine/AFECircleProgressBar.h> |
|||
|
|||
#import <BioAuthEngine/APBEvent.h> |
|||
#import <BioAuthEngine/IBioAuthFactor.h> |
|||
#import <BioAuthEngine/IBioAuthTask.h> |
|||
#import <BioAuthEngine/APBTaskContext.h> |
|||
#import <BioAuthEngine/APBBackwardCommand.h> |
|||
#import <BioAuthEngine/NSTimer+bioAuth.h> |
|||
#import <BioAuthEngine/APBAuthEngine.h> |
|||
#import <BioAuthEngine/BioAuthCommonSetting.h> |
|||
#import <BioAuthEngine/APBConfig.h> |
|||
#import <BioAuthEngine/APBBisRequestBuilder.h> |
|||
#endif /* BioAuthEngine_h */ |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
#import <BioAuthEngine/DTFUIElementManager.h> |
|||
#import <BioAuthEngine/APBGatewayFacade.h> |
|||
#import <BioAuthEngine/APBProxy.h> |
|||
#import <BioAuthEngine/APBDeviceInfo.h> |
|||
#import <BioAuthEngine/APBAuthFacade.h> |
|||
#import <BioAuthEngine/DTFTextLayer.h> |
|||
#import <UIKit/UIKit.h> |
|||
|
|||
//! Project version number for BioAuthEngine. |
|||
FOUNDATION_EXPORT double BioAuthEngineVersionNumber; |
|||
|
|||
//! Project version string for BioAuthEngine. |
|||
FOUNDATION_EXPORT const unsigned char BioAuthEngineVersionString[]; |
@ -1,67 +0,0 @@ |
|||
// |
|||
// BioAuthFacade.h |
|||
// BioAuthAPI |
|||
// |
|||
// Created by yukun.tyk on 12/7/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import "APBRequest.h" |
|||
#import "APBResponse.h" |
|||
#import "APBCommand.h" |
|||
|
|||
/** |
|||
* 生物认证结果回调处理 |
|||
* |
|||
* @param response 生物认证结果 |
|||
*/ |
|||
typedef void (^BioAuthCallback) (APBResponse *response); |
|||
|
|||
/** |
|||
* 执行命令结束回调 |
|||
* |
|||
* @param success 命令执行是否成功 |
|||
* @param reason 保留参数 |
|||
*/ |
|||
typedef void (^BioAuthExecCallback) (BOOL success, NSDictionary *reason); |
|||
|
|||
@interface BioAuthFacade : NSObject |
|||
|
|||
/** |
|||
* 唤起生物认证之前获取框架meta数据 |
|||
*/ |
|||
+ (NSString *)getBioMetaInfo; |
|||
|
|||
/** |
|||
* 触发下载资源文件 |
|||
*/ |
|||
+ (void)preLoad; |
|||
|
|||
/** |
|||
* 申请生物认证 |
|||
* |
|||
* @param request 生物认证请求 |
|||
* @param callback 生物认证结果回调处理 |
|||
*/ |
|||
- (void)authWithRequest:(APBRequest *)request withCallback:(BioAuthCallback)callback; |
|||
|
|||
/** |
|||
* 让正在进行中的生物认证因子执行某种操作 |
|||
* |
|||
* @param command 操作码 |
|||
* @param callback 命令执行回调 |
|||
*/ |
|||
- (void)exec:(APBCommand *)command withCompletionCallback:(BioAuthExecCallback)callback; |
|||
|
|||
/** |
|||
* 当前是否正在执行认证任务 |
|||
*/ |
|||
- (BOOL)isBusy; |
|||
|
|||
/** |
|||
* 生物认证类型版本号 |
|||
*/ |
|||
- (NSString *)version; |
|||
|
|||
@end |
@ -1,30 +0,0 @@ |
|||
// |
|||
// DTFFaceView.h |
|||
// MultiFactorFacade |
|||
// |
|||
// Created by mengbingchuan on 2022/6/22. |
|||
// Copyright © 2022 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import "DTFFaceViewProtocol.h" |
|||
|
|||
typedef NS_ENUM(NSInteger, DTFAuthScene) { |
|||
DTFAuthSceneFace = 1, //刷脸 |
|||
DTFAuthSceneMultiFactor = 2, //意愿 |
|||
}; |
|||
|
|||
@interface DTFFaceView : UIView<DTFFaceViewProtocol> |
|||
|
|||
@property(nonatomic, assign) DTFAuthScene authScene; |
|||
@property(nonatomic, strong) NSString *platformInfo; |
|||
@property(nonatomic, assign) BOOL isSuitable; |
|||
|
|||
- (instancetype)initWithAuthScene:(DTFAuthScene)authScene platformInfo:(NSString *)platformInfo isSuitable:(BOOL)isSuitable; |
|||
|
|||
- (instancetype)initWithAuthScene:(DTFAuthScene)authScene; |
|||
|
|||
- (void)setScreenRotation:(BOOL)isRotation; |
|||
|
|||
- (void)setPlayBtnIcon; |
|||
@end |
@ -1,57 +0,0 @@ |
|||
// |
|||
// DTFFaceViewProtocol.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by mengbingchuan on 2022/8/29. |
|||
// Copyright © 2022 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIkit.h> |
|||
#import <AVFoundation/AVFoundation.h> |
|||
#import <ToygerService/ToygerFaceFrame.h> |
|||
|
|||
@protocol DTFFaceViewProtocol; |
|||
|
|||
@protocol DTFFaceViewDelegate <NSObject> |
|||
|
|||
- (void)viewExit:(id<DTFFaceViewProtocol>)view; |
|||
|
|||
- (void)playBtn:(UIButton *)btn; |
|||
|
|||
@end |
|||
|
|||
@protocol DTFFaceViewProtocol <NSObject> |
|||
|
|||
@property(nonatomic, weak) id<DTFFaceViewDelegate> delegate; |
|||
|
|||
- (void)setPreviewLayer:(AVCaptureVideoPreviewLayer *)previewLayer; |
|||
|
|||
- (void)setScreenRotation:(BOOL)isRotation; |
|||
|
|||
- (void)setPlayBtnIcon; |
|||
|
|||
- (void)handleFaceStateChange:(ToygerMessage)state |
|||
stateTips:(NSString *)tips |
|||
actionGuide:(NSString *)guide |
|||
progress:(CGFloat)progress; |
|||
|
|||
- (UIView *)view; |
|||
|
|||
@optional |
|||
|
|||
/** |
|||
* color 炫彩时,设置View的背景色 |
|||
*/ |
|||
- (void)setPhotinusColor:(UIColor *)color; |
|||
|
|||
/** |
|||
* 设置是否开启适老化 |
|||
*/ |
|||
- (void)setSuitableType:(BOOL)isSuitable; |
|||
/** |
|||
* image 模糊化的人脸图,用于做结束时loading |
|||
*/ |
|||
- (void)showBlurImage:(UIImage *)image; |
|||
|
|||
@end |
|||
|
@ -1,19 +0,0 @@ |
|||
// |
|||
// DTFTextLayer.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by 王伟伟 on 2017/12/5. |
|||
// Copyright © 2017年 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <QuartzCore/QuartzCore.h> |
|||
#import <CoreGraphics/CoreGraphics.h> |
|||
#import <UIKit/UIKit.h> |
|||
|
|||
@interface DTFTextLayer : CATextLayer |
|||
|
|||
@property (nonatomic, copy) NSAttributedString *attrStr; |
|||
|
|||
- (CGSize)stringSize; |
|||
|
|||
@end |
@ -1,22 +0,0 @@ |
|||
// |
|||
// DTFUIElementManager.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by richard on 08/08/2017. |
|||
// Copyright © 2017 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
|
|||
|
|||
@interface DTFUIElementManager : NSObject |
|||
|
|||
+ (UIView *)generateUIViewWithFrame:(CGRect)frame andBackGroundColor:(UIColor *)backGroundColor andAlpha:(float)alpha; |
|||
|
|||
+ (UILabel *)generateUIlabelWithFrame:(CGRect)frame andColor:(UIColor *)color andFont:(UIFont*)font andAlpha:(float)alpha andBackGroundColor:(UIColor *)backGroundColor andLineBreakMode:(NSLineBreakMode)breakMode andAlignment:(NSTextAlignment) alignment; |
|||
|
|||
+ (UIImageView *)generateUIImageViewWithFrame:(CGRect)frame andImageName:(NSString *)imageName andContentMode:(UIViewContentMode)contentMode; |
|||
|
|||
+ (UIImage *)generateUIImageWithName:(NSString *)imageName; |
|||
|
|||
@end |
@ -1,18 +0,0 @@ |
|||
// |
|||
// APFUploadWaveView.h |
|||
// selfieFaceInfo |
|||
// |
|||
// Created by 晗羽 on 11/3/16. |
|||
// Copyright © 2016 com.antworshop7. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <QuartzCore/QuartzCore.h> |
|||
|
|||
@interface DTFUploadWaveLayer : CALayer |
|||
|
|||
- (void)setMaskImage:(UIImage *)image; |
|||
- (void)startWave; |
|||
- (void)stopWave; |
|||
|
|||
@end |
@ -1,16 +0,0 @@ |
|||
// |
|||
// FaceViewProviderProtocol.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by mengbingchuan on 2022/8/29. |
|||
// Copyright © 2022 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import "DTFFaceViewProtocol.h" |
|||
|
|||
@protocol DTFViewProviderProtocol <NSObject> |
|||
|
|||
- (id<DTFFaceViewProtocol>)viewForFace; |
|||
|
|||
@end |
@ -1,69 +0,0 @@ |
|||
// |
|||
// IBioAuthFactor.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/9/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
@protocol IBioAuthTask; |
|||
@class APBRequest, APBResponse; |
|||
|
|||
|
|||
/** |
|||
* globalConfig key |
|||
* 全局超时,值为CGFloat,若设定了该值,则框架可以在相应时间到达后,将全局超时事件封装成APBEvent dispatch给当时运行的task |
|||
* 即使设定了全局超时,全局计时器默认关闭,需要task在globalInfo中将kGlobalTimerSwitchKey开关设置为YES后才开始计时 |
|||
*/ |
|||
extern NSString *const kGlobalTimeoutKey; |
|||
|
|||
/** |
|||
* 远程生物认证因子接口 |
|||
*/ |
|||
@protocol IBioAuthFactor <NSObject> |
|||
|
|||
/** |
|||
* 生物认证因子名称,框架根据该名称反射调用到具体生物认证因子 |
|||
*/ |
|||
@property(nonatomic, copy, readonly)NSString *factorName; |
|||
|
|||
/** |
|||
* 框架调用该方法来实例化认证因子 |
|||
* |
|||
* @param request 调用方的认证请求 |
|||
*/ |
|||
- (instancetype)initWithRequest:(APBRequest *)request; |
|||
|
|||
/** |
|||
* 获取远程生物认证task队列 |
|||
*/ |
|||
- (NSArray<id<IBioAuthTask>> *)getTasks; |
|||
|
|||
/** |
|||
* 获取生物验证全局配置(全局超时等) |
|||
*/ |
|||
- (NSMutableDictionary *)getGlobalConfig; |
|||
|
|||
/** |
|||
* 框架最终返回response之前,由相应认证因子最终处理repsonse |
|||
*/ |
|||
- (void)finalizeResponse:(APBResponse *)response; |
|||
|
|||
/** |
|||
* sdk版本号 |
|||
*/ |
|||
+ (NSString *)getVersion; |
|||
|
|||
@optional |
|||
/** |
|||
* 重启之前调用 |
|||
*/ |
|||
- (void)onEngineWillRestart:(NSMutableDictionary *)pipeInfo; |
|||
|
|||
/** |
|||
* 获取生物认证产品元数据 |
|||
*/ |
|||
+ (NSDictionary *)getMetaInfo; |
|||
|
|||
@end |
@ -1,64 +0,0 @@ |
|||
// |
|||
// IBioAuthTask.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by yukun.tyk on 11/4/15. |
|||
// Copyright © 2015 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
#import <BioAuthEngine/APBBackwardCommand.h> |
|||
#import <BioAuthEngine/APBEvent.h> |
|||
#import <BioAuthEngine/APBAuthEngine.h> |
|||
|
|||
@class APBTaskContext; |
|||
|
|||
/** |
|||
* pipeInfo key |
|||
* value为commandBlock,task可以调用并要求框架执行相应APBBackwardCommand命令 |
|||
*/ |
|||
extern NSString *const kTaskCommandBlockKey; |
|||
|
|||
/** |
|||
* taskConfig key |
|||
* task超时,value为CGFloat,如果task设置了该值,框架将开始task计时器,并在时间到达后,将task超时封装成APBEvent发送给当前task |
|||
*/ |
|||
extern NSString *const kTaskTimeoutKey; |
|||
|
|||
typedef void (^commandBlock)(APBBackwardCommand *command); |
|||
|
|||
@protocol IBioAuthTask <NSObject> |
|||
|
|||
@property(nonatomic, copy, readonly) NSString *taskName; //任务名称 |
|||
@property(nonatomic, strong, readonly) APBTaskContext *context; //任务上下文 |
|||
|
|||
/** |
|||
* 开始执行任务队列 |
|||
*/ |
|||
- (void)invokeWithPipeInfo:(NSMutableDictionary *)pipeInfo; |
|||
|
|||
/** |
|||
* 处理中断事件 |
|||
* |
|||
* @param event 事件 |
|||
* @param callback 事件处理结果回调 |
|||
*/ |
|||
- (void)processEvent:(APBEvent *)event |
|||
withCompletionCallback:(BioAuthExecCallback)callback; |
|||
|
|||
/** |
|||
* 获取任务配置(超时等) |
|||
*/ |
|||
- (NSDictionary *)getConfig; |
|||
|
|||
/** |
|||
* 重置任务 |
|||
*/ |
|||
- (void)reset; |
|||
|
|||
/** |
|||
* 获取当前管道信息,框架负责传递给下一个task |
|||
*/ |
|||
- (NSMutableDictionary *)pipeInfo; |
|||
|
|||
@end |
@ -1,18 +0,0 @@ |
|||
// |
|||
// NSTimer+bioAuth.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by 王伟伟 on 2017/8/23. |
|||
// Copyright © 2017年 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <Foundation/Foundation.h> |
|||
|
|||
@interface NSTimer (bioAuth) |
|||
|
|||
@property(nonatomic, strong)NSNumber *remained; |
|||
|
|||
- (void)pause; |
|||
- (void)resume; |
|||
|
|||
@end |
@ -1,27 +0,0 @@ |
|||
// |
|||
// UIImage+bioAuth.h |
|||
// BioAuthEngine |
|||
// |
|||
// Created by 王伟伟 on 2017/8/23. |
|||
// Copyright © 2017年 DTF. All rights reserved. |
|||
// |
|||
|
|||
#import <UIKit/UIKit.h> |
|||
#import <CoreMedia/CoreMedia.h> |
|||
|
|||
@interface UIImage (bioAuth) |
|||
|
|||
+ (nullable UIImage *)bioAuth_imageWithColor:(UIColor *_Nullable)color size:(CGSize)size; |
|||
|
|||
#pragma mark - Resize - |
|||
- (nullable UIImage *)resize:(CGSize)sz; |
|||
- (nullable UIImage *)subRect:(CGRect)r; |
|||
- (nullable UIImage *)gaussiamBlur; |
|||
|
|||
- (nullable UIImage *)bioAuth_Resize:(CGSize)sz; |
|||
- (nullable UIImage *)bioAuth_SubRect:(CGRect)r; |
|||
- (nullable UIImage *)bioAuth_GaussiamBlur; |
|||
+ (nullable UIImage *)bioAuth_imageWithCVPixelBuffer:(CVPixelBufferRef _Nullable )buffer; |
|||
+ (nullable UIImage *)bioAuth_imageWithCMSampleBuffer:(CMSampleBufferRef _Nullable )samplebuffer; |
|||
- (nullable UIImage *)bioAuth_imageByResizeToSize:(CGSize)size contentMode:(UIViewContentMode)contentMode; |
|||
@end |