BeaconRangingMonitor
public class BeaconRangingMonitor : BaseMonitor
A BeaconRangingMonitor instance monitors a region for changes to the
ranges (i.e., the relative proximity) to the Bluetooth low-energy beacons
within.
-
Encapsulates changes to the beacon ranges within a region.
See moreDeclaration
Swift
public enum Event -
Encapsulates information associated with a beacon ranging monitor event.
See moreDeclaration
Swift
public enum Info -
Initializes a new
BeaconRangingMonitor.Declaration
Swift
public init(region: CLBeaconRegion, queue: OperationQueue, handler: @escaping (Event) -> Void)Parameters
regionThe beacon region to monitor.
queueThe operation queue on which the handler executes.
handlerThe handler to call when a beacon range change is detected.
-
The beacon region being monitored.
Declaration
Swift
public let region: CLBeaconRegion -
A Boolean value indicating whether the region is actively being tracked using ranging. There is a system-imposed, per-app limit to how many regions can be actively ranged.
Declaration
Swift
public var isActivelyRanged: Bool { get } -
A Boolean value indicating whether the device supports the ranging of Bluetooth beacons.
Declaration
Swift
public var isAvailable: Bool { get } -
Declaration
Swift
override public func cleanupMonitor() -
Declaration
Swift
override public func configureMonitor()
View on GitHub
Install in Dash
BeaconRangingMonitor Class Reference