forked from emigonza/JavaPOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBiometricsControl110.java
More file actions
143 lines (137 loc) · 6.96 KB
/
Copy pathBiometricsControl110.java
File metadata and controls
143 lines (137 loc) · 6.96 KB
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
/////////////////////////////////////////////////////////////////////
//
// This software is provided "AS IS". The JavaPOS working group (including
// each of the Corporate members, contributors and individuals) MAKES NO
// REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NON-INFRINGEMENT. The JavaPOS working group shall not be liable for
// any damages suffered as a result of using, modifying or distributing this
// software or its derivatives.Permission to use, copy, modify, and distribute
// the software and its documentation for any purpose is hereby granted.
//
// BiometricsControl110
//
// Interface definining all new capabilities, properties and
// methods that are specific to Biometrics for release 1.10.
//
// Modification history
// ------------------------------------------------------------------
// 2006-Feb-10 JavaPOS Release 1.10 BS
//
/////////////////////////////////////////////////////////////////////
package jpos;
import jpos.events.*;
public interface BiometricsControl110 extends BaseControl
{
// Capabilities
public boolean getCapCompareFirmwareVersion() throws JposException;
public int getCapPowerReporting() throws JposException;
public boolean getCapPrematchData() throws JposException;
public boolean getCapRawSensorData() throws JposException;
public boolean getCapRealTimeData() throws JposException;
public int getCapSensorColor() throws JposException;
public int getCapSensorOrientation() throws JposException;
public int getCapSensorType() throws JposException;
public boolean getCapStatisticsReporting() throws JposException;
public boolean getCapTemplateAdaptation() throws JposException;
public boolean getCapUpdateFirmware() throws JposException;
public boolean getCapUpdateStatistics() throws JposException;
// Properties
public int getAlgorithm() throws JposException;
public void setAlgorithm(int algorithm) throws JposException;
public String getAlgorithmList() throws JposException;
public boolean getAutoDisable() throws JposException;
public void setAutoDisable(boolean autoDisable) throws JposException;
public byte[] getBIR() throws JposException;
public int getDataCount() throws JposException;
public boolean getDataEventEnabled() throws JposException;
public void setDataEventEnabled(boolean dataEventEnabled)
throws JposException;
public int getPowerNotify() throws JposException;
public void setPowerNotify(int powerNotify) throws JposException;
public int getPowerState() throws JposException;
public byte[] getRawSensorData() throws JposException;
public boolean getRealTimeDataEnabled() throws JposException;
public void setRealTimeDataEnabled(boolean enabled) throws JposException;
public int getSensorBPP() throws JposException;
public int getSensorColor() throws JposException;
public void setSensorColor(int color) throws JposException;
public int getSensorHeight() throws JposException;
public int getSensorOrientation() throws JposException;
public void setSensorOrientation(int orientation) throws JposException;
public int getSensorType() throws JposException;
public void setSensorType(int type) throws JposException;
public int getSensorWidth() throws JposException;
// Methods
public void beginEnrollCapture(byte[] referenceBIR,
byte[] payload)
throws JposException;
public void beginVerifyCapture()
throws JposException;
public void clearInput() throws JposException;
public void clearInputProperties()
throws JposException;
public void compareFirmwareVersion(String firmwareFileName,
int[] result)
throws JposException;
public void endCapture()
throws JposException;
public void identify(int maxFARRequested,
int maxFRRRequested,
boolean FARPrecedence,
byte[][] referenceBIRPopulation,
int[][] candidateRanking,
int timeout)
throws JposException;
public void identifyMatch(int maxFARRequested,
int maxFRRRequested,
boolean FARPrecedence,
byte[] sampleBIR,
byte[][] referenceBIRPopulation,
int[][] candidateRanking)
throws JposException;
public void processPrematchData(byte[] capturedBIR,
byte[] prematchDataBIR,
byte[][] processedBIR)
throws JposException;
public void resetStatistics(String statisticsBuffer)
throws JposException;
public void retrieveStatistics(String[] statisticsBuffer)
throws JposException;
public void updateFirmware(String firmwareFileName)
throws JposException;
public void updateStatistics(String statisticsBuffer)
throws JposException;
public void verify(int maxFARRequested,
int maxFRRRequested,
boolean FARPrecedence,
byte[] referenceBIR,
byte[][] adaptedBIR,
boolean[] result,
int[] FARAchieved,
int[] FRRAchieved,
byte[][] payload,
int timeout)
throws JposException;
public void verifyMatch(int maxFARRequested,
int maxFRRRequested,
boolean FARPrecedence,
byte[] sampleBIR,
byte[] referenceBIR,
byte[][] adaptedBIR,
boolean[] result,
int[] FARAchieved,
int[] FRRAchieved,
byte[][] payload)
throws JposException;
// Event listener methods
public void addDataListener(DataListener l);
public void removeDataListener(DataListener l);
public void addDirectIOListener(DirectIOListener l);
public void removeDirectIOListener(DirectIOListener l);
public void addErrorListener(ErrorListener l);
public void removeErrorListener(ErrorListener l);
public void addStatusUpdateListener(StatusUpdateListener l);
public void removeStatusUpdateListener(StatusUpdateListener l);
}