What should I use instead of `biometricManager.canAuthenticate()` is deprecated.   

[Doc](https://developer.android.com/reference/androidx/biometric/BiometricManager#canAuthenticate()) says

> 
> This method is deprecated.
> Use canAuthenticate(int) instead.
> 
> 
> 

```
    BiometricManager biometricManager = BiometricManager.from(this);
    switch (biometricManager.canAuthenticate()){
        case BiometricManager.BIOMETRIC_ERROR_HW_UNAVAILABLE:
            break;
        case BiometricManager.BIOMETRIC_ERROR_NO_HARDWARE:
            break;
        case BiometricManager.BIOMETRIC_SUCCESS:
            break;
        case BiometricManager.BIOMETRIC_ERROR_NONE_ENROLLED:
            break;
        case BiometricManager.BIOMETRIC_ERROR_UNSUPPORTED:
            break;
    }

```

How to use `canAuthenticate(int)` like the above manner.