When I copied the following code from this developer.android.com tutorial about adding biometric authentication in your android app:
BiometricPrompt.PromptInfo promptInfo =
new BiometricPrompt.PromptInfo.Builder()
.setTitle("Biometric login for my app")
.setSubtitle("Log in using your biometric credential")
.setNegativeButtonText("Cancel")
.build();
PromptInfo is not recognized.
I have followed all the steps prior to this in the tutorial.