Instance Property

maximumRegionMonitoringDistance

The largest boundary distance that can be assigned to a region.

Declaration

var maximumRegionMonitoringDistance: CLLocationDistance { get }

Discussion

This property defines the largest boundary distance allowed from a region’s center point. Attempting to monitor a region with a distance larger than this value causes the location manager to send a regionMonitoringFailure error to the delegate.

If region monitoring is unavailable or not supported, the value in this property is -1.

See Also

Initiating Region Monitoring

func startMonitoring(for: CLRegion)

Starts monitoring the specified region.

func stopMonitoring(for: CLRegion)

Stops monitoring the specified region.

var monitoredRegions: Set<CLRegion>

The set of shared regions monitored by all location manager objects.