isSupportedByOs property

bool isSupportedByOs

Returns whether the Operating System supports this authenticator or not.

For example if the current platform is Android and this is a biometric authenticator and the Android API level in the device does not support the required interfaces by the SDK, 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.

NOTE
On iOS the value will be always true. Use Authenticator.isSupportedByHardware to detect whether the device has hardware supporting the FaceID or TouchID authenticators.

Returns: true if the Operating System where the SDK is running supports this authenticator and false otherwise.

Implementation

bool get isSupportedByOs;