Instance Method

locationManager:rangingBeaconsDidFailForRegion:withError:

Tells the delegate that an error occurred while gathering ranging information for a set of beacons.

Declaration

- (void)locationManager:(CLLocationManager *)manager rangingBeaconsDidFailForRegion:(CLBeaconRegion *)region withError:(NSError *)error;

Parameters

manager

The location manager object reporting the event.

region

The region object that encountered the error.

error

An error object containing the error code that indicates why ranging failed.

Discussion

Errors occur most often when registering a beacon region failed. If the region object itself is invalid or if it contains invalid data, the location manager calls this method to report the problem.

See Also

Responding to Ranging Events

- locationManager:didRangeBeacons:satisfyingConstraint:

Tells the delegate that a beacon satisfying the constraint was detected.

Beta
- locationManager:didFailRangingBeaconsForConstraint:error:

Tells the delegate that no beacons were detected that satisfy the constraint.

Beta
- locationManager:didRangeBeacons:inRegion:

Tells the delegate that one or more beacons are in range.

Deprecated