Public Member Functions

<BMReverseGeocoderDelegate> Protocol Reference

The BMReverseGeocoderDelegate protocol defines the interface for receiving messages from a BMReverseGeocoder object. More...

#import <BMReverseGeocoder.h>

List of all members.

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.

Detailed Description

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.


Member Function Documentation

- (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.

Parameters:
geocoderThe geocoder.
errorThe error.
- (void) reverseGeocoder: (BMReverseGeocoder *)  geocoder
didFindEntity: (BMEntity *)  entity 
[required]

Tells the delegate that a reverse geocoder successfully obtained a BMEntity and returns the BMEntity.

Parameters:
geocoderThe geocoder.
entityThe entity.

The documentation for this protocol was generated from the following file: