1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
|
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/">
<interface name="org.ukui.Biometric">
<method name="CheckAppApiVersion">
<doc>
<line>Check application API Version</line>
<line>result等于0,应用使用的API版本兼容框架版本(主、从版本号匹配,功能版本号小于等于框架版本)</line>
<line>result大于0,应用使用的API版本不兼容框架版本,应用过新</line>
<line>result小于0,应用使用的API版本不兼容框架版本,应用过旧</line>
</doc>
<arg name="major" type="i" direction="in" />
<arg name="minor" type="i" direction="in" />
<arg name="function" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
</method>
<method name="GetDrvList">
<doc>
<line>Get Drive List</line>
</doc>
<arg name="count" type="i" direction="out" />
<arg name="info" type="av" direction="out">
<doc>
(v)info = (issiiiiiiiiiii)struct{
int drv_ID;
char * name;
char * full_name;
int enable;
int dev_num;
int biotype;
int stotype;
int eigtype;
int vertype;
int idtype;
int bustype
int dev_status;
int ops_result;
int notify_mid;
}
</doc>
</arg>
</method>
<method name="GetDevList">
<doc>
<line>Get Device List</line>
</doc>
<arg name="count" type="i" direction="out" />
<arg name="info" type="av" direction="out">
<doc>
(v)info = (issiiiiiiiiiii)struct{
int drv_ID;
char * name;
char * full_name;
int enable;
int dev_num;
int biotype;
int stotype;
int eigtype;
int vertype;
int idtype;
int bustype
int dev_status;
int ops_result;
int notify_mid;
}
</doc>
</arg>
</method>
<method name="GetFeatureList">
<doc>
<line>Get Feature List</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx_start" type="i" direction="in" />
<arg name="idx_end" type="i" direction="in" />
<arg name="count" type="i" direction="out" />
<arg name="feature_list" type="av" direction="out">
<doc>
<line>feature_list = struct(uid, idx, idx_name)</line>
<line>name = name</line>
</doc>
</arg>
</method>
<method name="UpdateStatus">
<doc>
<line>Update Device Status</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
<arg name="enable" type="i" direction="out" />
<arg name="dev_num" type="i" direction="out" />
<arg name="dev_status" type="i" direction="out" />
<arg name="ops_result" type="i" direction="out" />
<arg name="notify_mid" type="i" direction="out" />
<arg name="dev_status_timestamp_sec" type="x" direction="out" />
<arg name="dev_status_timestamp_usec" type="x" direction="out" />
<arg name="ops_result_timestamp_sec" type="x" direction="out" />
<arg name="ops_result_timestamp_usec" type="x" direction="out" />
<arg name="notify_mid_timestamp_sec" type="x" direction="out" />
<arg name="notify_mid_timestamp_usec" type="x" direction="out" />
</method>
<method name="GetDevMesg">
<doc>
<line>Get Device Status Message</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="mesg" type="s" direction="out" />
<arg name="timestamp_sec" type="x" direction="out" />
<arg name="timestamp_usec" type="x" direction="out" />
</method>
<method name="GetOpsMesg">
<doc>
<line>Get Operations Status Message</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="mesg" type="s" direction="out" />
<arg name="timestamp_sec" type="x" direction="out" />
<arg name="timestamp_usec" type="x" direction="out" />
</method>
<method name="GetNotifyMesg">
<doc>
<line>Get Notify Message</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="mesg" type="s" direction="out" />
<arg name="timestamp_sec" type="x" direction="out" />
<arg name="timestamp_usec" type="x" direction="out" />
</method>
<method name="Enroll">
<doc>
<line>Enroll Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx" type="i" direction="in" />
<arg name="idx_name" type="s" direction="in" />
<arg name="result" type="i" direction="out" />
</method>
<method name="Verify">
<doc>
<line>Verify Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
</method>
<method name="Identify">
<doc>
<line>Identify Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx_start" type="i" direction="in" />
<arg name="idx_end" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
<arg name="uid" type="i" direction="out" />
</method>
<method name="Capture">
<doc>
<line>Capture Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
<arg name="eigen_base64" type="s" direction="out" />
</method>
<method name="Search">
<doc>
<line>Search Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx_start" type="i" direction="in" />
<arg name="idx_end" type="i" direction="in" />
<arg name="count" type="i" direction="out" />
<arg name="feature_list" type="av" direction="out" />
</method>
<method name="Clean">
<doc>
<line>Clean Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx_start" type="i" direction="in" />
<arg name="idx_end" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
</method>
<method name="Rename">
<doc>
<line>Rename Eigen</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="uid" type="i" direction="in" />
<arg name="idx" type="i" direction="in" />
<arg name="new_name" type="s" direction="in" />
<arg name="result" type="i" direction="out" />
</method>
<method name="StopOps">
<doc>
<line>Stop Current Operations</line>
</doc>
<arg name="drvid" type="i" direction="in" />
<arg name="waiting" type="i" direction="in" />
<arg name="result" type="i" direction="out" />
</method>
<signal name="StatusChanged">
<doc>
Emitted when device status is changed.
</doc>
<arg name="drvid" type="i">
<doc>Driver(device) of status changed.</doc>
</arg>
<arg name="type" type="i">
<doc>Type of status changed.</doc>
</arg>
</signal>
<signal name="USBDeviceHotPlug">
<doc>
Emit when the device is plugged in or pulled out.
</doc>
<arg name="drvid" type="i">
<doc>Driver or device ID</doc>
</arg>
<arg name="action" type="i">
<doc>Action type</doc>
</arg>
<arg name="dev_num_now" type="i">
<doc>Number of devices after the event</doc>
</arg>
</signal>
</interface>
</node>
|