FingerprintB.ModuleMode1Api2
代替
@Deprecated
public static final class FingerprintB.ModuleMode1
extends java.lang.Object
FingerprintB.ModuleMode.ModuleMode1
模块的操作类 本模块有以下资源可供调用
限定符和类型 | 类和说明 |
---|---|
class |
FingerprintB.ModuleMode1.ErrorCode
已过时。
错误码
|
static class |
FingerprintB.ModuleMode1.FingerprintCharacter
已过时。
指纹特征值
|
static class |
FingerprintB.ModuleMode1.FingerprintCharacterBuffer
已过时。
在芯片内的指纹特征值缓冲区
|
static class |
FingerprintB.ModuleMode1.FingerprintImage
已过时。
代表指纹图像类
|
static class |
FingerprintB.ModuleMode1.FingerprintImageSize
已过时。
指纹图像大小,现有两种,256*288,或256*360
|
static class |
FingerprintB.ModuleMode1.NotePage
已过时。
记事本信息页(共 512 页,每页 32 字节)
|
static class |
FingerprintB.ModuleMode1.Result
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
int |
deleteAllTemplatesOnChip()
已过时。
|
int |
deleteTemplatesOnChip(int templateStartIndex,
int count)
已过时。
|
int |
errorCode()
已过时。
|
boolean |
errorOk()
已过时。
|
java.lang.Integer |
generateARandomNumber()
已过时。
|
int |
generateCharacterByImageOnChip(int destinationCharacterBuffer)
已过时。
|
FingerprintB.ModuleMode1.FingerprintCharacter |
getCharacter(int sourceCharacterBuffer)
已过时。
|
java.lang.Integer |
getCountOfTemplatesInLibrary()
已过时。
|
FingerprintB.ModuleMode1.FingerprintImage |
getImage()
已过时。
|
FingerprintB.ModuleMode1.FingerprintImage |
getImage(java.io.File sourceBmpFile)
已过时。
|
boolean |
init(FingerprintB.ModuleMode1.Password password)
已过时。
|
int |
loadCharacter(int destinationCharacterBuffer,
java.io.File sourceCharacterFile)
已过时。
|
int |
loadCharacter(int destinationCharacterBuffer,
FingerprintB.ModuleMode1.FingerprintCharacter sourceTemplate)
已过时。
|
int |
loadCharacter(int destinationCharacterBuffer,
int sourceTemplateIndexInLibrary)
已过时。
|
int |
loadImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage)
已过时。
|
FingerprintB.ModuleMode1.Result.ResultOfMatchCharacterBufferAAndB |
matchCharacterBufferAAndB()
已过时。
|
int |
mergeCharacterBufferAAndBToModelBuffer()
已过时。
|
FingerprintB.ModuleMode1.NotePage |
readNotePage(int sourceUserInfoIndex)
已过时。
|
protected int |
readParTable(char[] pParTable)
已过时。
|
int |
saveCharacter(int sourceCharacterBuffer,
java.io.File destinationCharacterFile)
已过时。
|
int |
saveCharacter(int sourceCharacterBuffer,
int destinationTemplateIndexInLibrary)
已过时。
|
int |
saveImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage,
java.io.File destinationBmpFile)
已过时。
|
java.lang.Integer |
search(int characterBufferOfSample,
int templateIndexOfLibrary,
int templateCount)
已过时。
|
java.lang.Integer |
searchFast(int characterBufferOfSample,
int templateIndexOfLibrary,
int templateCount)
已过时。
|
protected int |
setBaudrate(int nBaudNum)
已过时。
设置波特率
参数:
nBaudNum:需设置的波特率大小(9600-57600)
返回值:
0 为成功,其它返回值请参考错误返回码
|
int |
setImageSize(int imagesize)
已过时。
|
protected int |
setPacketSize(int nSize)
已过时。
27、设置数据包大小函数
参数:
nSize:需设置的数据包大小(32/64/128/256)
返回值:
0 为成功,其它返回值请参考错误返回码
|
int |
setPassword(FingerprintB.ModuleMode1.Password password)
已过时。
|
int |
setSecurityLevel(int securityLevel)
已过时。
|
int |
tryCaptureFingerprintOnSensor()
已过时。
|
int |
uninit()
已过时。
|
int |
verifyPassword(FingerprintB.ModuleMode1.Password password)
已过时。
|
int |
writeNotePage(int destinationNotePageIndex,
FingerprintB.ModuleMode1.NotePage userInfo)
已过时。
|
@Deprecated public int errorCode()
FingerprintB.ModuleMode1.ErrorCode
@Deprecated public boolean errorOk()
FingerprintB.ModuleMode1.ErrorCode.Ok
@Deprecated public boolean init(FingerprintB.ModuleMode1.Password password)
@Deprecated public int setImageSize(int imagesize)
@Deprecated public int uninit()
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int tryCaptureFingerprintOnSensor()
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int generateCharacterByImageOnChip(int destinationCharacterBuffer)
destinationCharacterBuffer
- 用于存放产生的特征值的缓冲区,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public FingerprintB.ModuleMode1.Result.ResultOfMatchCharacterBufferAAndB matchCharacterBufferAAndB()
@Deprecated public java.lang.Integer search(int characterBufferOfSample, int templateIndexOfLibrary, int templateCount)
characterBufferOfSample
- [FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
templateIndexOfLibrary
- 起始 ID,[0-999]
templateCount
- 数量,[1-1000],(templateIndexOfLibrary+templateCount)<=1000
@Deprecated public int mergeCharacterBufferAAndBToModelBuffer()
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int saveCharacter(int sourceCharacterBuffer, int destinationTemplateIndexInLibrary)
sourceCharacterBuffer
- 上传的指纹特征缓冲区[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.ModelBuffer
]
destinationTemplateIndexInLibrary
- 模板存储到指纹库中的 ID 号[0-999]
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int loadCharacter(int destinationCharacterBuffer, int sourceTemplateIndexInLibrary)
destinationCharacterBuffer
- 加载到指纹模块设备的指纹特征缓冲区[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
sourceTemplateIndexInLibrary
- 在指纹库中将要读出的指纹模板 ID 号,[0-999]
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public FingerprintB.ModuleMode1.FingerprintCharacter getCharacter(int sourceCharacterBuffer)
sourceCharacterBuffer
- 将要上传的模板特征缓冲区,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.ModelBuffer
]
FingerprintB.ModuleMode1.FingerprintCharacter
否则返回null
@Deprecated public int loadCharacter(int destinationCharacterBuffer, FingerprintB.ModuleMode1.FingerprintCharacter sourceTemplate)
destinationCharacterBuffer
- 目标指纹特征缓冲区[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
sourceTemplate
- 用于下载的指纹模板数据
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public FingerprintB.ModuleMode1.FingerprintImage getImage()
FingerprintB.ModuleMode1.FingerprintImage
, 否则返回null
@Deprecated public int loadImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage)
sourceImage
- 下载的指纹图像数据
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int saveImage(FingerprintB.ModuleMode1.FingerprintImage sourceImage, java.io.File destinationBmpFile)
sourceImage
- 需保存的指纹图像数据
destinationBmpFile
- 保存的指纹图像文件名的绝对路径
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public FingerprintB.ModuleMode1.FingerprintImage getImage(java.io.File sourceBmpFile)
sourceBmpFile
- 读取的指纹图像文件名
FingerprintB.ModuleMode1.FingerprintImage
, 否则返回null
@Deprecated public int deleteTemplatesOnChip(int templateStartIndex, int count)
templateStartIndex
- 需删除指纹区域的起始 ID 号[0-999]
count
- 需删除的从起始 ID 开始的模板个数[1-1000],(templateStartIndex+count)<=1000
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int deleteAllTemplatesOnChip()
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated protected int readParTable(char[] pParTable)
@Deprecated public java.lang.Integer searchFast(int characterBufferOfSample, int templateIndexOfLibrary, int templateCount)
characterBufferOfSample
- [FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
templateIndexOfLibrary
- 起始 ID,[0-999]
templateCount
- 数量,[1-1000],(templateIndexOfLibrary+templateCount)<=1000
@Deprecated public java.lang.Integer getCountOfTemplatesInLibrary()
@Deprecated public int setPassword(FingerprintB.ModuleMode1.Password password)
password
- 握手口令数据
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int verifyPassword(FingerprintB.ModuleMode1.Password password)
password
- 握手口令数据
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public FingerprintB.ModuleMode1.NotePage readNotePage(int sourceUserInfoIndex)
sourceUserInfoIndex
- 记事本信息页地址,[0-511]
FingerprintB.ModuleMode1.NotePage
,其它情况返回null
@Deprecated public int writeNotePage(int destinationNotePageIndex, FingerprintB.ModuleMode1.NotePage userInfo)
destinationNotePageIndex
- 需写入的记事本信息页地址,[0-511]
userInfo
- 记事本信息页FingerprintB.ModuleMode1.NotePage
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
protected int setBaudrate(int nBaudNum)
@Deprecated public int setSecurityLevel(int securityLevel)
securityLevel
- 需设置的安全等级大小[1-5]
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
protected int setPacketSize(int nSize)
@Deprecated public int saveCharacter(int sourceCharacterBuffer, java.io.File destinationCharacterFile)
sourceCharacterBuffer
- 将要上传的模板特征缓冲区[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
destinationCharacterFile
- 特征文件名
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public int loadCharacter(int destinationCharacterBuffer, java.io.File sourceCharacterFile)
destinationCharacterBuffer
- 目标指纹特征缓冲区,[FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferA
、FingerprintB.ModuleMode1.FingerprintCharacterBuffer.CharacterBufferB
]
sourceCharacterFile
- 用于读取指纹特征的文件名
FingerprintB.ModuleMode1.ErrorCode.Ok
,失败返回其它值
@Deprecated public java.lang.Integer generateARandomNumber()