Skip to main content

BiometricStatus

Namespace: BlazorNative.Core

The wire-mirrored outcome of a biometric prompt. Failure (1), cancellation (2), unavailability (3), lockout (4) and error (5) are all VALUES — never an exception, never a hang; an out-of-range integer maps to Error. The numeric values are the ABI contract; do not reorder.

public enum BiometricStatus

Inheritance ObjectValueTypeEnumBiometricStatus
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

NameValueDescription
Authenticated0The user proved presence. On a read-only availability check it means "present + enrolled + ready" — no authentication was performed.
Failed1A biometric was presented and rejected; a retry is allowed.
Cancelled2The user dismissed the prompt (or the app cancelled it).
Unavailable3No biometric hardware, or none enrolled.
LockedOut4Too many failures — temporarily (or permanently) locked out.
Error5Unexpected host error (a caught native throw).