SWRLRegionManager Class Reference

Inherits from SWRLManager : NSObject
Declared in SWRLRegionManager.h
SWRLRegionManager.m

Overview

A component which manages a working set of Region objects (retreived using the API) that are ‘near’ the users location. These regions represent both geofences and ‘control’ regions. Geofences have logical location, placement and other metadata associated. Control regions are used internally by the SDK to control other signal detection, like when to start and stop scanning for beacons or what iBeacon UUIDs are nearby. This component either starts its own os specific location manager or depends upon the host app to post location information onto the bus. It generates RegionEnter/RegionExit events onto the bus.

  monitoredArea

The monitoredArea represents the region encompassing the current working set of regions.

@property (nonatomic, copy, readonly) SWRLRegion *monitoredArea

Declared In

SWRLRegionManager.h

  monitoredRegions

The current working set of regions. Basically all of the regions that are active for this API key within 1 degree of latitude and longitude of the devices current position (normalized to degree boundries)

@property (nonatomic, copy, readonly) NSArray<SWRLRegion*> *monitoredRegions

Declared In

SWRLRegionManager.h

  enteredRegions

The current set of entered regions. This includes all types of regions (control and geofence).

@property (nonatomic, copy, readonly) NSArray<SWRLRegion*> *enteredRegions

Declared In

SWRLRegionManager.h