are Biometrics Available
abstract fun areBiometricsAvailable(context: FragmentActivity, allowDeviceCredentials: Boolean = false): BiometricAvailability
Content copied to clipboard
Indicates if the biometric sensor is available, and provides a reasoning if not
Return
Parameters
context
is the calling FragmentActivity
allow Device Credentials
whether or not you choose to allow the use of non-biometric device credentials (PIN, Pattern) as a fallback (on Android versions greater than Q)