TTBatchSearch Class Reference

Inherits from NSObject
Declared in TTBatchSearch.h

Overview

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

– batchSearchWithQuery:

Perform batch search with query

- (void)batchSearchWithQuery:(TTBatchQuery *_Nonnull)query

Parameters

query

Object containing the data needed to perform batch search.

Discussion

Perform batch search with query

Declared In

TTBatchSearch.h

– batchSearchWithQuery:completionHandler:

Perform batch search with query with block

- (void)batchSearchWithQuery:(TTBatchQuery *_Nonnull)query completionHandler:(void ( ^ _Nonnull ) ( TTBatchResponse *_Nullable response , TTResponseError *_Nullable error ))completionHandler

Parameters

query

Object containing the data needed to perform batch search.

completionHandler

CompletionHandler that informs the subscriber when a search response is available.

Discussion

Perform batch search with query with block

Declared In

TTBatchSearch.h

  delegate

Delegate that informs the subscriber when batch search result is available.

@property (nonatomic, weak) id<TTBatchSearchDelegate> _Nullable delegate

Discussion

Delegate that informs the subscriber when batch search result is available.

Declared In

TTBatchSearch.h