uccmawei / FingerprintIdentify

:+1: Android Fingerprint Verification SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mMaxAvailableTimes改不了

ZhangKuixun opened this issue · comments

commented

我不想要次数限制,我把maxAvailableTimes设置成很大。但是到了第5次就会把指纹监听销毁掉。

fingerprintIdentify.startIdentify(Integer.MAX_VALUE, new BaseFingerprint.FingerprintIdentifyListener() {
@OverRide
public void onSucceed() {
L.e(getString(R.string.succeed));
}

                @Override
                public void onNotMatch(int availableTimes) {
                    L.e(getString(R.string.not_match)+"  availableTimes");
                }

                @Override
                public void onFailed(boolean isDeviceLocked) {
                    L.e(getString(R.string.failed) + " " + isDeviceLocked);
                }

                @Override
                public void onStartFailedByDeviceLocked() {
                    L.e(getString(R.string.start_failed));
                }
            });
commented

请看介绍文档的第六点。