The BMReverseGeocoderDelegate protocol defines the interface for receiving messages from a BMReverseGeocoder object. More...
#import <BMReverseGeocoder.h>
Public Member Functions | |
(void) | - reverseGeocoder:didFindEntity: |
Tells the delegate that a reverse geocoder successfully obtained a BMEntity and returns the BMEntity. | |
(void) | - reverseGeocoder:didFailWithError: |
Tells the delegate that a reverse geocoder failed to obtain a BMEntity. |
The BMReverseGeocoderDelegate protocol defines the interface for receiving messages from a BMReverseGeocoder object.
A BMEntity object is returned from didFindEntity if a location is found for a coordinate. If no location is found or if there is an error in the request, the didFailWithError method is called with details of the error. Both delegate methods are required.
- (void) reverseGeocoder: | (BMReverseGeocoder *) | geocoder | |
didFailWithError: | (NSError *) | error | |
[required] |
Tells the delegate that a reverse geocoder failed to obtain a BMEntity.
Errors include network issues which may fall under system framework domains, and result in not found errors which have the domain BMErrorDomain and the code BMErrorEntityNotFound.
geocoder | The geocoder. |
error | The error. |
- (void) reverseGeocoder: | (BMReverseGeocoder *) | geocoder | |
didFindEntity: | (BMEntity *) | entity | |
[required] |