How to check for registered biometric credentials

I have a Galaxy Fold 3 with fingerprint and FaceID registered.

Despite that, the following code returns BIOMETRIC_ERROR_NONE_ENROLLED

BiometricManager biometricManager = BiometricManager.from(this);
switch (biometricManager.canAuthenticate()) {
    case BiometricManager.BIOMETRIC_SUCCESS:
        Log.i(TAG, "Biometric credentials registered.");
        break;
    case BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE:
        Log.i(TAG, "No biometric features available on this device.");
        break;
    case BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE:
        Log.i(TAG, "Biometric features are unavailable.");
        break;
    case BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED:
        Log.i(TAG, "No biometric credentials registered.");
        break;
}

I would like to understand why this is the case and if there is another way to determine whether biometric credentials have been registered?