ALUserStayDelegate Protocol Reference
Conforms to | NSObject |
Declared in | Alohar.h |
Tasks
-
– currentUserStayIdentified:
Callback when a user stay is detected or updated.
-
– userArrivedAtPlaceWithLocation:
Callback when an arrival event is detected.
-
– userDepartedPlaceWithLocation:
Callback when a departure event is detected.
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