Conforms to NSObject
Declared in Alohar.h

Overview

Protocol to listen to real time events such as arrival, departure and user stay detection.

Tasks

Instance Methods

currentUserStayIdentified:

Callback when a user stay is detected or updated.

- (void)currentUserStayIdentified:(ALUserStay *)newStay

Parameters

newStay

The updated new user stay.

Discussion

Callback when a user stay is detected or updated.

Declared In

Alohar.h

userArrivedAtPlaceWithLocation:

Callback when an arrival event is detected.

- (void)userArrivedAtPlaceWithLocation:(CLLocation *)location

Parameters

location

The centroid of the user’s location when the arrival event is triggered.

Discussion

Callback when an arrival event is detected.

Declared In

Alohar.h

userDepartedPlaceWithLocation:

Callback when a departure event is detected.

- (void)userDepartedPlaceWithLocation:(CLLocation *)location

Parameters

location

The centroid of the last user stay. If the user stay is not detected, the centroid of user’s location will be returned.

Discussion

Callback when a departure event is detected.

Declared In

Alohar.h