Inherits from UAEvent : NSObject
Declared in UARegionEvent.h

Overview

A UARegion event captures information regarding a region event for UAAnalytics.

Properties

circularRegion

A circular region with a radius, and latitude/longitude from its center.

@property (nonatomic, strong, nullable) UACircularRegion *circularRegion

Declared In

UARegionEvent.h

proximityRegion

A proximity region with an identifier, major and minor.

@property (nonatomic, strong, nullable) UAProximityRegion *proximityRegion

Declared In

UARegionEvent.h

Class Methods

regionEventWithRegionID:source:boundaryEvent:

Factory method for creating a region event.

+ (nullable instancetype)regionEventWithRegionID:(NSString *)regionID source:(NSString *)source boundaryEvent:(UABoundaryEvent)boundaryEvent

Parameters

regionID

The ID of the region.

source

The source of the event.

boundaryEvent

The type of boundary crossing event.

Return Value

Region event object or nil if error occurs.

Declared In

UARegionEvent.h