TTReverseGeocoder Class Reference

Inherits from NSObject
Declared in TTReverseGeocoder.h

Overview

TomTom Search API main object. Contains methods to use Tomtom’s online search engine and provides support for both async and sync calls.

– reverseGeocoderWithQuery:withAsyncDelegate:

Reverse geocoder with async callback

- (void)reverseGeocoderWithQuery:(TTReverseGeocoderQuery *_Nonnull)query withAsyncDelegate:(id<TTReverseGeocoderDelegate> _Nonnull)delegate

Parameters

query

Object containing the data needed to perform a search.

delegate

Delegate that informs the subscriber when a search result is available. It contains a TTReverseGeocoderResult object.

Discussion

Reverse geocoder with async callback

Declared In

TTReverseGeocoder.h

– reverseGeocoderWithQuery:completionHandler:

Reverse geocoder with async block

- (void)reverseGeocoderWithQuery:(TTReverseGeocoderQuery *_Nonnull)request completionHandler:(void ( ^ _Nonnull ) ( TTReverseGeocoderResult *_Nullable result , TTResponseError *_Nullable error ))completionHandler

Parameters

request

The object which contains data necessary to execute search action

completionHandler

CompletionHandler that informs the subscriber when a search result is available. It contains a TTReverseGeocoderResult object.

Discussion

Reverse geocoder with async block

Declared In

TTReverseGeocoder.h

– reverseGeocoderWithQuery:error:

Reverse geocoder with sync result

- (TTReverseGeocoderResult *_Nullable)reverseGeocoderWithQuery:(TTReverseGeocoderQuery *_Nonnull)query error:(TTResponseError *_Nullable)error

Parameters

query

Object containing the data needed to perform a search.

error

Error

Return Value

return TTReverseGeocoderResult object.

Discussion

Reverse geocoder with sync result

Declared In

TTReverseGeocoder.h

– cancel

Cancels the current request

- (void)cancel

Discussion

Cancels the current request

Declared In

TTReverseGeocoder.h