FingerprintB.ModuleMode1Api2
instead@Deprecated
public static final class FingerprintB.ModuleMode1
extends java.lang.Object
FingerprintB.ModuleMode.ModuleMode1
Modifier and Type | Class and Description |
---|---|
class |
FingerprintB.ModuleMode1.ErrorCode
Deprecated.
Error code
|
static class |
FingerprintB.ModuleMode1.FingerprintCharacter
Deprecated.
Fingerprint character
|
static class |
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
Deprecated.
|
static class |
FingerprintB.ModuleMode1.FingerprintImage
Deprecated.
|
static class |
FingerprintB.ModuleMode1.FingerprintImageSize
Deprecated.
Fingerprint image size,256*288,256*360
|
static class |
FingerprintB.ModuleMode1.NotePage
Deprecated.
Note page,every module has 512 note pages,every note page contains 32 bytes.
|
static class |
FingerprintB.ModuleMode1.Password
Deprecated.
Password
|
static class |
FingerprintB.ModuleMode1.Result
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
deleteAllTemplatesOnChip()
Deprecated.
|
int |
deleteTemplatesOnChip(int templateStartIndex,
int count)
Deprecated.
|
int |
errorCode()
Deprecated.
|
boolean |
errorOk()
Deprecated.
|
java.lang.Integer |
generateARandomNumber()
Deprecated.
|
int |
generateCharacterByImageOnChip(int destinationCharacterBuffer)
Deprecated.
|
FingerprintB.ModuleMode1.FingerprintCharacter |
getCharacter(int sourceCharacterBuffer)
Deprecated.
|
java.lang.Integer |
getCountOfTemplatesInLibrary()
Deprecated.
|
FingerprintB.ModuleMode1.FingerprintImage |
getImage()
Deprecated.
|
FingerprintB.ModuleMode1.FingerprintImage |
getImage(java.io.File sourceBmpFile)
Deprecated.
|
boolean |
init(FingerprintB.ModuleMode1.Password password)
Deprecated.
|
int |
loadCharacter(int destinationCharacterBuffer,
java.io.File sourceCharacterFile)
Deprecated.
|
int |
loadCharacter(int destinationCharacterBuffer,
FingerprintB.ModuleMode1.FingerprintCharacter sourceTemplate)
Deprecated.
|
int |
loadCharacter(int destinationCharacterBuffer,
int sourceTemplateIndexInLibrary)
Deprecated.
|
int |
loadImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage)
Deprecated.
|
FingerprintB.ModuleMode1.Result.ResultOfMatchCharacterBufferAAndB |
matchCharacterBufferAAndB()
Deprecated.
|
int |
mergeCharacterBufferAAndBToModelBuffer()
Deprecated.
|
FingerprintB.ModuleMode1.NotePage |
readNotePage(int sourceUserInfoIndex)
Deprecated.
|
protected int |
readParTable(char[] pParTable)
Deprecated.
|
int |
saveCharacter(int sourceCharacterBuffer,
java.io.File destinationCharacterFile)
Deprecated.
|
int |
saveCharacter(int sourceCharacterBuffer,
int destinationTemplateIndexInLibrary)
Deprecated.
|
int |
saveImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage,
java.io.File destinationBmpFile)
Deprecated.
|
java.lang.Integer |
search(int characterBufferOfSample,
int templateIndexOfLibrary,
int templateCount)
Deprecated.
|
java.lang.Integer |
searchFast(int characterBufferOfSample,
int templateIndexOfLibrary,
int templateCount)
Deprecated.
|
protected int |
setBaudrate(int nBaudNum)
Deprecated.
设置波特率
参数:
nBaudNum:需设置的波特率大小(9600-57600)
返回值:
0 为成功,其它返回值请参考错误返回码
|
int |
setImageSize(int imagesize)
Deprecated.
|
protected int |
setPacketSize(int nSize)
Deprecated.
27、设置数据包大小函数
参数:
nSize:需设置的数据包大小(32/64/128/256)
返回值:
0 为成功,其它返回值请参考错误返回码
|
int |
setPassword(FingerprintB.ModuleMode1.Password password)
Deprecated.
|
int |
setSecurityLevel(int securityLevel)
Deprecated.
|
int |
tryCaptureFingerprintOnSensor()
Deprecated.
|
int |
uninit()
Deprecated.
|
int |
verifyPassword(FingerprintB.ModuleMode1.Password password)
Deprecated.
|
int |
writeNotePage(int destinationNotePageIndex,
FingerprintB.ModuleMode1.NotePage userInfo)
Deprecated.
|
@Deprecated public int errorCode()
FingerprintB.ModuleMode1.ErrorCode
of last operationFingerprintB.ModuleMode1.ErrorCode
@Deprecated public boolean errorOk()
FingerprintB.ModuleMode1.ErrorCode
is FingerprintB.ModuleMode1.ErrorCode
@Deprecated public boolean init(FingerprintB.ModuleMode1.Password password)
@Deprecated public int setImageSize(int imagesize)
imagesize
-
[FingerprintB.ModuleMode1.FingerprintImageSize.ImageSize256x288
,FingerprintB.ModuleMode1.FingerprintImageSize.ImageSize256x360
]FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int uninit()
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int tryCaptureFingerprintOnSensor()
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int generateCharacterByImageOnChip(int destinationCharacterBuffer)
destinationCharacterBuffer
-
destination FingerprintB.ModuleMode1.FingerprintCharacterBuffer
used to store character,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public FingerprintB.ModuleMode1.Result.ResultOfMatchCharacterBufferAAndB matchCharacterBufferAAndB()
FingerprintB.ModuleMode1.FingerprintCharacter
s in FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
and FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
@Deprecated public java.lang.Integer search(int characterBufferOfSample, int templateIndexOfLibrary, int templateCount)
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
in librarycharacterBufferOfSample
-
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
contains the sample charactertemplateIndexOfLibrary
-
start index in library,[0-999]templateCount
-
count,[1-1000],(templateIndexOfLibrary+templateCount)<=1000@Deprecated public int mergeCharacterBufferAAndBToModelBuffer()
FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
and FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
to FingerprintB.ModuleMode1.FingerprintCharacterBuffer.ModelBuffer
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int saveCharacter(int sourceCharacterBuffer, int destinationTemplateIndexInLibrary)
FingerprintB.ModuleMode1.FingerprintCharacter
in specified FingerprintB.ModuleMode1.FingerprintCharacterBuffer
to library at the specified indexsourceCharacterBuffer
-
source FingerprintB.ModuleMode1.FingerprintCharacterBuffer
,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.ModelBuffer
]destinationTemplateIndexInLibrary
-
destination index in libraryFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int loadCharacter(int destinationCharacterBuffer, int sourceTemplateIndexInLibrary)
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
on chipdestinationCharacterBuffer
-
destination FingerprintB.ModuleMode1.FingerprintCharacterBuffer
,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]sourceTemplateIndexInLibrary
-
index of source template will be loadedFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public FingerprintB.ModuleMode1.FingerprintCharacter getCharacter(int sourceCharacterBuffer)
FingerprintB.ModuleMode1.FingerprintCharacter
from FingerprintB.ModuleMode1.FingerprintCharacterBuffer
on chipsourceCharacterBuffer
-
source {@link FingerprintCharacterBuffer},[{@link FingerprintCharacterBuffer#CharacterBufferA}、{@link FingerprintCharacterBuffer#CharacterBufferB}、{@link FingerprintCharacterBuffer#ModelBuffer}]FingerprintB.ModuleMode1.FingerprintCharacter
on success or null otherwise@Deprecated public int loadCharacter(int destinationCharacterBuffer, FingerprintB.ModuleMode1.FingerprintCharacter sourceTemplate)
FingerprintB.ModuleMode1.FingerprintCharacter
to FingerprintB.ModuleMode1.FingerprintCharacterBuffer
on chipdestinationCharacterBuffer
-
destination FingerprintB.ModuleMode1.FingerprintCharacterBuffer
,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]sourceTemplate
-
source templateFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public FingerprintB.ModuleMode1.FingerprintImage getImage()
FingerprintB.ModuleMode1.FingerprintImage
from fingerprint image buffer on chipFingerprintB.ModuleMode1.FingerprintImage
on success or null otherwise@Deprecated public int loadImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage)
FingerprintB.ModuleMode1.FingerprintImage
to fingerprint image buffer on chipsourceImage
-
source fingerprint imageFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int saveImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage, java.io.File destinationBmpFile)
FingerprintB.ModuleMode1.FingerprintImage
to BMP filesourceImage
-
source FingerprintB.ModuleMode1.FingerprintImage
would be saveddestinationBmpFile
-
destination bmp file name,absolute pathFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public FingerprintB.ModuleMode1.FingerprintImage getImage(java.io.File sourceBmpFile)
FingerprintB.ModuleMode1.FingerprintImage
from Fingerprint BMP filesourceBmpFile
-
File name need to be readFingerprintB.ModuleMode1.FingerprintImage
on success or null otherwise@Deprecated public int deleteTemplatesOnChip(int templateStartIndex, int count)
templateStartIndex
-
first template index need to be deleted[0-999]count
-
count of template need to be deleted,[1-1000],(templateStartIndex+count)<=1000FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int deleteAllTemplatesOnChip()
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated protected int readParTable(char[] pParTable)
@Deprecated public java.lang.Integer searchFast(int characterBufferOfSample, int templateIndexOfLibrary, int templateCount)
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
in librarycharacterBufferOfSample
-
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
contains the sample charactertemplateIndexOfLibrary
-
start index in library,[0-999]templateCount
-
count,[1-1000],(templateIndexOfLibrary+templateCount)<=1000@Deprecated public java.lang.Integer getCountOfTemplatesInLibrary()
@Deprecated public int setPassword(FingerprintB.ModuleMode1.Password password)
password
-
FingerprintB.ModuleMode1.Password
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int verifyPassword(FingerprintB.ModuleMode1.Password password)
password
-
FingerprintB.ModuleMode1.Password
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public FingerprintB.ModuleMode1.NotePage readNotePage(int sourceUserInfoIndex)
sourceUserInfoIndex
-
index of note page in note pad,[0-511]FingerprintB.ModuleMode1.NotePage
on success or null otherwise@Deprecated public int writeNotePage(int destinationNotePageIndex, FingerprintB.ModuleMode1.NotePage userInfo)
FingerprintB.ModuleMode1.NotePage
into notepad at the sepcified indexdestinationNotePageIndex
-
destination note page index,[0-511]userInfo
-
note pageFingerprintB.ModuleMode1.NotePage
FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise protected int setBaudrate(int nBaudNum)
@Deprecated public int setSecurityLevel(int securityLevel)
securityLevel
-
Security level[1-5]FingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise protected int setPacketSize(int nSize)
@Deprecated public int saveCharacter(int sourceCharacterBuffer, java.io.File destinationCharacterFile)
FingerprintB.ModuleMode1.FingerprintCharacter
in specified FingerprintB.ModuleMode1.FingerprintCharacterBuffer
to filesourceCharacterBuffer
-
source FingerprintB.ModuleMode1.FingerprintCharacterBuffer
,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]destinationCharacterFile
-
destination character fileFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public int loadCharacter(int destinationCharacterBuffer, java.io.File sourceCharacterFile)
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
on chipdestinationCharacterBuffer
-
destination FingerprintB.ModuleMode1.FingerprintCharacterBuffer
,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]sourceCharacterFile
-
soruce Character FileFingerprintB.ModuleMode1.ErrorCode.Ok
on success or other FingerprintB.ModuleMode1.ErrorCode
otherwise @Deprecated public java.lang.Integer generateARandomNumber()