IALocationManagerDelegate Protocol Reference

Conforms to NSObject
Declared in IALocationManager.h

Overview

The IALocationManagerDelegate protocol defines the methods used to receive location updates from a IALocationManager object.

Upon receiving a successful location update, you can use the result to update your user interface or perform other actions.

The methods of your delegate object are called from the thread in which you started the corresponding location services. That thread must itself have an active run loop, like the one found in your application’s main thread.

Responding to Location Events

– indoorLocationManager:didUpdateLocations:

Tells the delegate that new location data is available.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager didUpdateLocations:(nonnull NSArray *)locations

Parameters

manager

The location manager object that generated the update event.

locations

An array of IALocation objects containing the location data. This array always contains at least one object representing the current location. If updates were deferred or if multiple locations arrived before they could be delivered, the array may contain additional entries. The objects in the array are organized in the order in which they occured. Threfore, the most recent location update is at the end of the array.

Discussion

Implementation of this method is optional but recommended.

Declared In

IALocationManager.h

– indoorLocationManager:didEnterRegion:

Tells the delegate that the user entered the specified region.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager didEnterRegion:(nonnull IARegion *)region

Parameters

manager

The location manager object that generated the event.

region

The region related to event.

Declared In

IALocationManager.h

– indoorLocationManager:didExitRegion:

Tells the delegate that the user left the specified region.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager didExitRegion:(nonnull IARegion *)region

Parameters

manager

The location manager object that generated the event.

region

The region related to event.

Declared In

IALocationManager.h

– indoorLocationManager:statusChanged:

Tells that IALocationManager status changed. This is used to signal network connection issues.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager statusChanged:(nonnull IAStatus *)status

Parameters

manager

The location manager object that generated the event.

status

The status at the time of the event.

Declared In

IALocationManager.h

– indoorLocationManager:calibrationQualityChanged:

Tells that calibration quality changed.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager calibrationQualityChanged:(enum ia_calibration)quality

Parameters

manager

The location manager object that generated the event.

quality

The calibration quality at the time of the event.

Declared In

IALocationManager.h

– indoorLocationManager:didReceiveExtraInfo:

Tells that extra information dictionary was received. This dictionary contains identifier for debugging positioning.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager didReceiveExtraInfo:(nonnull NSDictionary *)extraInfo

Parameters

manager

The location manager object that generated the event.

extraInfo

NSDictionary containing extra information about positioning.

Declared In

IALocationManager.h

– indoorLocationManager:didUpdateHeading:

Tells the delegate that updated heading information is available.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager didUpdateHeading:(nonnull IAHeading *)newHeading

Parameters

manager

The location manager object that generated the event.

newHeading

New heading data.

Declared In

IALocationManager.h

– indoorLocationManager:didUpdateAttitude:

Tells the delegate that updated attitude (orientation) information is available.

- (void)indoorLocationManager:(nonnull IALocationManager *)manager didUpdateAttitude:(nonnull IAAttitude *)newAttitude

Parameters

manager

The location manager object that generated the event.

newAttitude

New attitude data.

Declared In

IALocationManager.h