Google includes biometric prompt API in Android P

What’s new in Android P Beta — Google — “Apps can use the new BiometricPrompt API instead of displaying their own biometric auth dialogs… In addition to supporting fingerprints (including in-display sensors), it also supports face and iris authentication, providing a system-wide consistent experience.”