GeolocationStatus
Namespace: BlazorNative.Core
The wire-mirrored outcome of a geolocation request. Denial (1/2/3), unavailability (4) and error (5) are all VALUES — never an exception, never a hang. The numeric values are the ABI contract; do not reorder.
public enum GeolocationStatus
Inheritance Object → ValueType → Enum → GeolocationStatus
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Granted | 0 | Permission held; a fix was obtained (the payload carries it). |
| Denied | 1 | Denied THIS time; a later request MAY prompt again. |
| DeniedPermanently | 2 | "Don't ask again" / iOS .denied — only a Settings change lifts it. |
| Restricted | 3 | Parental controls / MDM — the user CANNOT grant it. |
| LocationUnavailable | 4 | Permission is fine, but location services are off or no fix is available. |
| Error | 5 | Unexpected host error (a caught native throw). |