Enum CoreLocationErrorCode
Error codes related to the Core Location Framework.
Namespace: UnityEngine.XR.ARKit
Syntax
public enum CoreLocationErrorCode : long
Remarks
These values correspond to Core Location's CLErrors.
Fields
| Name | Description | Value |
|---|---|---|
| LocationUnknown | Location is currently unknown, but Core Location will keep trying to determine it. |
0 |
| Denied | Access to location or ranging has been denied by the user. |
1 |
| Network | General, network-related error. |
2 |
| HeadingFailure | Heading could not be determined. |
3 |
| RegionMonitoringDenied | Location region monitoring has been denied by the user. |
4 |
| RegionMonitoringFailure | A registered region cannot be monitored. |
5 |
| RegionMonitoringSetupDelayed | Core Location could not immediately initialize region monitoring. |
6 |
| RegionMonitoringResponseDelayed | Events for this fence will be delivered, but delivery will not occur immediately. |
7 |
| GeocodeFoundNoResult | A geocode request yielded no result. |
8 |
| GeocodeFoundPartialResult | A geocode request yielded a partial result. |
9 |
| GeocodeCanceled | A geocode request was cancelled. |
10 |
| DeferredFailed | Deferred mode failed. |
11 |
| DeferredNotUpdatingLocation | Deferred mode failed because location updates are disabled or paused. |
12 |
| DeferredAccuracyTooLow | Deferred mode not supported for the requested accuracy. |
13 |
| DeferredDistanceFiltered | Deferred mode does not support distance filters. |
14 |
| DeferredCanceled | Deferred mode request canceled a previous request. |
15 |
| RangingUnavailable | Ranging cannot be performed. |
16 |
| RangingFailure | General ranging failure. |
17 |
| PromptDeclined | User declined the authorization request. |
18 |