IGLocationManagerDelegate

@protocol IGLocationManagerDelegate <NSObject>

The IGLocationManagerDelegate protocol defines the methods used to receive location and heading updates from a IGLocationManager object.

  • Tells the delegate that a new location data is available.

    Declaration

    Objective-C

    - (void)igLocationManager:(IGLocationManager *)manager
            didUpdateLocation:(IGLocation *)igLocation;

    Parameters

    manager

    The IGLocationManager object that generated the update event.

    igLocation

    A IGLocation object containing the location data.

  • Tells the delegate that a new Motion State was detected.

    Declaration

    Objective-C

    - (void)igLocationManager:(IGLocationManager *)manager
         didDetectMotionState:(IGMotionState)motionState;

    Parameters

    manager

    The IGLocationManager object that generated the update event.

    motionState

    The new Motion State the user has just entered into.