Google explains how its BiometricPrompt API will work

Better biometrics in Android P — Google — “Starting in Android P, developers can use the BiometricPrompt API to integrate biometric authentication into their apps in a device and biometric agnostic way… A support library is also provided for devices running Android O and earlier, allowing applications to utilize the advantages of this API across more devices.”