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

  payload

The JSON payload for this geofence.

@property (nonatomic, strong, nullable) NSDictionary *payload

Declared In

IALocationManager.h

  isCloudGeofence

Is this geofence cloud defined (static) or runtime defined (dynamic)

@property (nonatomic) BOOL isCloudGeofence

Declared In

IALocationManager.h

– containsCoordinate:

Does the geofence contain the coordinate?

- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate

Declared In

IALocationManager.h