namespace Darnton.Blazor.DeviceInterop.Geolocation { /// /// An enumeration of error codes used by . /// . /// public enum GeolocationPositionErrorCode { /// /// Geolocation failoed because the device does not support geolocation. Not part of W3C spec. /// DEVICE_NOT_SUPPORTED = 0, /// /// Geolocation failed because permission to access location was denied. /// PERMISSION_DENIED = 1, /// /// Geolocation failed because of an internal error on the device. /// POSITION_UNAVAILABLE = 2, /// /// Geolocation failed because no position was returned in time. /// TIMEOUT = 3 } }