MRLocationManagerDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | MRLocationManager.h |
– locationManager:didUpdateToLocation:
Invoked when new locations are available.
- (void)locationManager:(MRLocationManager *)manager didUpdateToLocation:(MRLocation *)location
Parameters
manager |
The location manager object reporting the event. |
---|---|
location |
The new location data. |
Declared In
MRLocationManager.h
– locationManager:didFailWithError:
Invoked when an error has occurred.
- (void)locationManager:(MRLocationManager *)manager didFailWithError:(NSError *)error
Parameters
manager |
The location manager object that was unable to retrieve the location. |
---|---|
error |
The error object containing the reason the location for the failure. |
Declared In
MRLocationManager.h