/**
* Container for fingerprint metadata.
* @hide
* /
public final class Fingerprint implements Parcelable {
private CharSequence mName;
private int mGroupId;
private int mFingerId;
private long mDeviceId; // physical device this is associated with
...
}
/**
* Container for callback data from {@link FingerprintManager#authenticate(CryptoObject,
* CancellationSignal, int, AuthenticationCallback, Handler)}.
*/
public static class AuthenticationResult {
private Fingerprint mFingerprint;
...
}
2条答案
按热度按时间dgtucam11#
android m、samsung或iphoneapi只允许验证当前用户和设备的用户。
有一些指纹扫描仪兼容android平台和android的sdk。这些SDK允许获取指纹图像或模板。扫描仪是插在usb端口,所以你不能充电平板电脑和使用指纹扫描仪同时进行。例如:
https://www.dermalog.com/products/hardware/fingerprint-scanners
https://www.futronic-tech.com/pro-detail.php?pro_id=1543
https://www.hidglobal.com/products/embedded-modules/single-finger-modules
还有一些设备集成了指纹扫描仪和sdk来获取指纹图像或模板。
wtzytmuj2#
您可以使用android.hardware.fingerprint.fingerprint.class
要与注册的api和fingerprintmanager内部类进行比较,api的可见性是隐藏的,您需要使用反射