isSupportedByHardware property

bool isSupportedByHardware

Returns whether the device has hardware supporting this authenticator or not.

For example if this is a fingerprint authenticator and the mobile device where the SDK is running does not have a fingerprint sensor, this method will return false.

If an authenticator that is not supported is provided through AuthenticatorSelector for registration or authentication operations, an OperationError will be returned as a result of the operation.

Known limitation on Android platform: in the case of an authenticator not supported by the Android API level (see Authenticator.isSupportedByOs), this method will return false even when the biometric hardware exists.

Returns: true if the device where the SDK is running has hardware supporting this authenticator and false otherwise.

Implementation

bool get isSupportedByHardware;