Enumeration

CLError

Error codes returned by the location manager object.

Declaration

typedef enum CLError : NSInteger {
    ...
} CLError;

Overview

Errors are delivered to the delegate using an NSError object.

Topics

Error Constants

kCLErrorLocationUnknown

A constant indicating that the location manager was unable to obtain a location value right now.

kCLErrorDenied

A constant indicating that access to the location service was denied by the user.

kCLErrorNetwork

A constant indicating that the network was unavailable or a network error occurred.

kCLErrorHeadingFailure

A constant indicating that the heading could not be determined.

kCLErrorRegionMonitoringDenied

A constant indicating that access to the region monitoring service was denied by the user.

kCLErrorRegionMonitoringFailure

A constant indicating that a registered region cannot be monitored.

kCLErrorRegionMonitoringSetupDelayed

A constant indicating that Core Location could not initialize the region monitoring feature immediately.

kCLErrorRegionMonitoringResponseDelayed

A constant indicating thatCore Location will deliver events but they may be delayed.

kCLErrorGeocodeFoundNoResult

A constant indicating that the geocode request yielded no result.

kCLErrorGeocodeFoundPartialResult

A constant indicating that the geocode request yielded a partial result.

kCLErrorGeocodeCanceled

A constant indicating that the geocode request was canceled.

kCLErrorDeferredFailed

A constant indicating that the location manager did not enter deferred mode for an unknown reason.

kCLErrorDeferredNotUpdatingLocation

A constant indicating that the location manager did not enter deferred mode because location updates were already disabled or paused.

kCLErrorDeferredAccuracyTooLow

A constant indicating that deferred mode is not supported for the requested accuracy.

kCLErrorDeferredDistanceFiltered

A constant indicating that deferred mode does not support distance filters.

kCLErrorDeferredCanceled

A constant indicating that the request for deferred updates was canceled by your app or by the location manager.

kCLErrorRangingUnavailable

A constant indicating that ranging is disabled.

kCLErrorRangingFailure

A constant indicating that a general ranging error occurred.

See Also

Errors

kCLErrorUserInfoAlternateRegionKey

A key in the user information dictionary of an error relating to a delayed region monitoring response.

kCLErrorDomain

The domain for Core Location errors.