Edytuj

Udostępnij za pośrednictwem


CLError Enum

Definition

Errors returned by the CLLocationManager.

public enum CLError
type CLError = 
Inheritance
CLError

Fields

Name Value Description
LocationUnknown 0

The location could not be determined.

Denied 1

Access to the location service was denied by the user.

Network 2

The network is unavailable.

HeadingFailure 3

The heading could not be determined.

RegionMonitoringDenied 4

Region monitoring was disallowed by the user.

RegionMonitoringFailure 5

Region monitoring failed.

RegionMonitoringSetupDelayed 6

Region monitoring could not be configured immediately.

RegionMonitoringResponseDelayed 7

Although region monitoring is available, events may be delayed.

GeocodeFoundNoResult 8

The geocoding was unsuccessful.

GeocodeFoundPartialResult 9

The geocoding was only partially successful.

GeocodeCanceled 10

The geocoding request was canceled.

DeferredFailed 11

The attempt to switch to deferred mode failed. Application developers may try again on devices that have a GPS device.

DeferredNotUpdatingLocation 12

The CLLocationManager did not enter deferred mode because location updates were already paused or disabled.

DeferredAccuracyTooLow 13

Deferred mode is not available for the requested accuracy.

DeferredDistanceFiltered 14

Deferred mode does not allow distance filters. The DistanceFilter must be set to FilterNone.

DeferredCanceled 15

The application's request for deferred location notices has been canceled.

RangingFailure 16

An error occurred during ranging.

RangingUnavailable 17

Ranging is not available.

Applies to