简体   繁体   English

选择要用于身份验证的特定指纹

[英]Choose a specific fingerprint to be used for authentication

I have an Android project that interacts with fingerprints.我有一个与指纹交互的 Android 项目。 The user wishes that the application can only be opened with certain fingerprints.用户希望应用程序只能使用某些指纹打开。

For example, say that on the device there are 2 fingerprints, fingerprint-1 and fingerprint-2 .例如,假设设备上有 2 个指纹, fingerprint-1fingerprint-2 So when opening the application, the user can only use fingerprint-2 to unlock it.所以在打开应用的时候,用户只能使用fingerprint-2来解锁。 How can this be done?如何才能做到这一点? I have not found a solution for this.我还没有找到解决方案。

This is not possible on Android with the built-in fingerprint scanner.这在带有内置指纹扫描仪的 Android 上是不可能的。 By design, there is no API to differentiate between the specific fingerprints, as they are all considered to belong to the same user.根据设计,没有 API 来区分特定指纹,因为它们都被认为属于同一用户。

If you wanted to do this, you'd need an extra peripheral fingerprint scanner to connect to the device that allows you to differentiate between fingerprints.如果你想这样做,你需要一个额外的外围指纹扫描仪来连接到允许你区分指纹的设备。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM