7

I have authenticated user using authenticate() method in my app. I was looking through documentation regarding gestures on Finger-Print Sensor but couldn't find any class pertaining to gestures. Is there any class regarding same which detects gestures like long Press,Tap, etc on finger print sensor.

I went through FingerprintManager class & this but couldn't find much info regarding gestures.

2 Answers 2

5

From android O onward you can use this: https://developer.android.com/reference/android/accessibilityservice/FingerprintGestureController.html

0

Unfortunately there's no way to directly interact with the sensor and listen for touch events or something similar. The only info you will get is if the user moved the finger too fast during the authentication process, if the sensor is dirty or if an unknown fingerprint was recognised.

For more information on how the fingerprint stuff is implemented on Android, you can check out the following page: https://source.android.com/security/authentication/fingerprint-hal.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.