CameraStatus
Namespace: BlazorNative.Core
The wire-mirrored outcome of a photo capture. Cancellation (1),
denial (2), unavailability (3) and error (4) are all VALUES — never an
exception, never a hang; out-of-range maps to Error. Note the
deliberate split between Cancelled (the user chose not to shoot)
and Denied (the OS refused access). The numeric values are the
ABI contract; do not reorder.
public enum CameraStatus
Inheritance Object → ValueType → Enum → CameraStatus
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Captured | 0 | A photo was taken and written; the payload carries its path. |
| Cancelled | 1 | The user backed out of the camera UI — a NORMAL outcome. |
| Denied | 2 | The OS refused camera access — a PERMISSION outcome (iOS). |
| Unavailable | 3 | No camera hardware / capture UI unavailable (the honest iOS-simulator result); also the read-only check's "no camera" answer. |
| Error | 4 | Unexpected host error (a caught throw, a write/encode failure, malformed args). |