IAGeofence Class Reference

Inherits from IARegion : NSObject
Declared in IALocationManager.h

Overview

An IAGeofence object provides a way to represent custom regions.

  boundingBox

Bounding box of the geofence.

@property (nonatomic, assign) struct ia_bounding_box boundingBox

Discussion

The bounding box must accurately cover the hit testable area by containsCoordinate: method.

The bounding box is used internally to optimize geofence lookups.

Declared In

IALocationManager.h

  floor

The floor the geofence is located on.

@property (nonatomic, strong, nullable) IAFloor *floor

Declared In

IALocationManager.h

– containsCoordinate:

Does the geofence contain the coordinate?

- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate

Declared In

IALocationManager.h