'Is there a possibility to know which biometric authentication the user used with the BiometricPrompt

I want to know if in the onAuthenticationSucceeded() method it was possible to check which Biometric authentication method the user used. Not only if it was a weak or strong method but if they used facial recognition or fingerprint for example.

Here is my code:

    Executor executor = ContextCompat.getMainExecutor(context);
    BiometricPrompt biometricPrompt;
    BiometricPrompt.PromptInfo promptInfo;
    biometricPrompt = new BiometricPrompt(fragmentActivity, executor, new BiometricPrompt.AuthenticationCallback() {
        @Override
        public void onAuthenticationError(int errorCode, @NonNull CharSequence errString) {
            super.onAuthenticationError(errorCode, errString);          
        }

        @Override
        public void onAuthenticationSucceeded(@NonNull BiometricPrompt.AuthenticationResult result) {
            System.out.println(result);
        }

        @Override
        public void onAuthenticationFailed() {
            super.onAuthenticationFailed();
        }
    });


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source