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 more

    Declaration

    Swift

    public enum Event
  • Encapsulates information associated with a beacon ranging monitor event.

    See more

    Declaration

    Swift

    public enum Info
  • Initializes a new BeaconRangingMonitor.

    Declaration

    Swift

    public init(region: CLBeaconRegion,
                queue: OperationQueue,
                handler: @escaping (Event) -> Void)

    Parameters

    region

    The beacon region to monitor.

    queue

    The operation queue on which the handler executes.

    handler

    The 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()