TTAlongRouteSearch Class Reference

Inherits from NSObject
Declared in TTAlongRouteSearch.h

Overview

Performs along route search action based on provided query object and returns the result with usage of callback implementation.

– searchWithQuery:withAsyncDelegate:

Performs along route search action based on provided query object and returns the result with usage of dlegate callback implementation.

- (void)searchWithQuery:(TTAlongRouteSearchQuery *)query withAsyncDelegate:(id<TTAlongRouteSearchDelegate>)delegate

Parameters

query

The object which contains data necessary to execute search action

delegate

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

Discussion

Performs along route search action based on provided query object and returns the result with usage of dlegate callback implementation.

Declared In

TTAlongRouteSearch.h

– searchWithQuery:completionHandler:

Performs along route search action based on provided query object and returns the result with usage of completion handler callback implementation.

- (void)searchWithQuery:(TTAlongRouteSearchQuery *)query completionHandler:(void ( ^ ) ( TTAlongRouteSearchResponse *response , TTResponseError *error ))completionHandler

Parameters

query

The object which contains data necessary to execute search action

completionHandler

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

Discussion

Performs along route search action based on provided query object and returns the result with usage of completion handler callback implementation.

Declared In

TTAlongRouteSearch.h

– searchWithQuery:error:

Search with sync result

- (TTAlongRouteSearchResponse *)searchWithQuery:(TTAlongRouteSearchQuery *)query error:(TTResponseError *)error

Parameters

query

Object containing the data needed to perform a search.

error

Error

Return Value

return TTAlongRouteSearchResponse object.

Discussion

Search with sync result

Declared In

TTAlongRouteSearch.h

– cancel

Cancels the current along route search request.

- (void)cancel

Discussion

Cancels the current along route search request.

Declared In

TTAlongRouteSearch.h