Hello,
Welcome to Microsoft Q&A!
From Android 10 (API level 29) we can use AndroidX Biometric Library to authenticate , the library does not expose a separate API for Facial Authentication because it is not responsible for targeting specific form-factors . If a device supports facial biometrics, then you will see a prompt for facial authentication; if your device supports fingerprint biometrics, then you will see a prompt for fingerprint authentication; and so on.
Please check details
https://medium.com/androiddevelopers/migrating-from-fingerprintmanager-to-biometricprompt-4bc5f570dccd
https://android-developers.googleblog.com/2019/10/one-biometric-api-over-all-android.html
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.