Type Method

isRangingAvailable()

Returns a Boolean value indicating whether the device supports ranging of Bluetooth beacons.

Declaration

class func isRangingAvailable() -> Bool

Return Value

true if the device supports ranging or false if it does not.

See Also

Determining the Availability of Services

class func authorizationStatus() -> CLAuthorizationStatus

Returns the app’s authorization status for using location services.

class func locationServicesEnabled() -> Bool

Returns a Boolean value indicating whether location services are enabled on the device.

class func deferredLocationUpdatesAvailable() -> Bool

Returns a Boolean value indicating whether the device supports deferred location updates.

class func significantLocationChangeMonitoringAvailable() -> Bool

Returns a Boolean value indicating whether the significant-change location service is available.

class func headingAvailable() -> Bool

Returns a Boolean value indicating whether the location manager is able to generate heading-related events.

class func isMonitoringAvailable(for: AnyClass) -> Bool

Returns a Boolean value indicating whether the device supports region monitoring using the specified class.