• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# IExecutor
2
3
4## 概述
5
6定义执行器接口,用于获取执行器,获取凭据模版信息,注册指纹特征模版,进行用户指纹认证,删除指纹特征模版等。
7
8**起始版本:** 4.0
9
10**相关模块:**[HdfFingerprintAuth](_hdf_fingerprint_auth_v11.md)
11
12
13## 汇总
14
15
16### Public 成员函数
17
18| 名称 | 描述 |
19| -------- | -------- |
20| [AuthenticateV1_1](#authenticatev1_1) ([in] unsigned long scheduleId, [in] unsigned long[] templateIdList, [in] boolean endAfterFirstFail, [in] unsigned char[] extraInfo, [in] IExecutorCallback callbackObj) | 指纹识别。 |
21| [GetProperty](#getproperty) ([in] unsigned long[] templateIdList, [in] enum [GetPropertyType](_hdf_fingerprint_auth_v11.md#getpropertytype)[] propertyTypes, [out] struct [Property](_property_fingerauth_v11.md) property) | 获取指纹执行器属性。 |
22| [SetCachedTemplates](#setcachedtemplates) ([in] unsigned long[] templateIdList) | 设置指纹缓存模板。 |
23| [RegisterSaCommandCallback](#registersacommandcallback) ([in] [ISaCommandCallback](interface_i_sa_command_callback_fingerauth_v11.md) callbackObj) | 注册sa命令回调。 |
24
25
26## 成员函数说明
27
28
29### AuthenticateV1_1()
30
31```
32IExecutor::AuthenticateV1_1 ([in] unsigned long scheduleId, [in] unsigned long[] templateIdList, [in] boolean endAfterFirstFail, [in] unsigned char[] extraInfo, [in] IExecutorCallback callbackObj )
33```
34
35**描述**
36
37指纹识别。
38
39**起始版本:** 4.0
40
41**参数:**
42
43| 名称 | 描述 |
44| -------- | -------- |
45| scheduleId | 调度ID,用于标识一次操作请求的调度过程。 |
46| templateIdList | 指定要认证的模版ID列表。 |
47| endAfterFirstFail | 第一次认证失败后结束认证。 |
48| extraInfo | 其他相关信息,用于支持信息扩展。 |
49| callbackObj | 回调对象[IExecutorCallback](interface_i_executor_callback_fingerauth_v10.md)。 |
50
51**返回:**
52
530 表示操作成功。
54
55非0 表示操作失败。
56
57
58### GetProperty()
59
60```
61IExecutor::GetProperty ([in] unsigned long[] templateIdList, [in] enum GetPropertyType[] propertyTypes, [out] struct Property property )
62```
63
64**描述**
65
66获取指纹执行器属性。
67
68**起始版本:** 4.0
69
70**参数:**
71
72| 名称 | 描述 |
73| -------- | -------- |
74| templateIdList | 指定要认证的模版ID列表。 |
75| propertyTypes | 指纹执行器属性类型,见[GetPropertyType](_hdf_fingerprint_auth_v11.md#getpropertytype)。 |
76| property | 指纹执行器属性[Property](_property_fingerauth_v11.md)。 |
77
78**返回:**
79
800 表示操作成功。
81
82非0 表示操作失败。
83
84
85### RegisterSaCommandCallback()
86
87```
88IExecutor::RegisterSaCommandCallback ([in] ISaCommandCallback callbackObj)
89```
90
91**描述**
92
93注册sa命令回调。
94
95**参数:**
96
97| 名称 | 描述 |
98| -------- | -------- |
99| callbackObj | sa命令回调对象。 |
100
101**返回:**
102
1030 表示操作成功。
104
105非0 表示操作失败。
106
107
108### SetCachedTemplates()
109
110```
111IExecutor::SetCachedTemplates ([in] unsigned long[] templateIdList)
112```
113
114**描述**
115
116设置指纹缓存模板。
117
118**起始版本:** 4.0
119
120**参数:**
121
122| 名称 | 描述 |
123| -------- | -------- |
124| templateIdList | 指纹缓存模板列表。 |
125
126**返回:**
127
1280 表示操作成功。
129
130非0 表示操作失败。
131