TTSearchDelegate Protocol Reference

Conforms to NSObject
Declared in TTSearch.h

Overview

Copyright © 2017 TomTom N.V. All rights reserved.

This software is the proprietary copyright of TomTom N.V. and its subsidiaries and may be used for internal evaluation purposes or commercial use strictly subject to separate licensee agreement between you and TomTom. If you are the licensee, you are only permitted to use this Software in accordance with the terms of your license agreement. If you are not the licensee then you are not authorised to use this software in any manner and should immediately return it to TomTom N.V.

– search:completedWithResult:

Method responsible to handle search response when search returns results. Within this callback user will obtain Response populated with Results. (Deprecated: This method is deprecated, use completedWithResponse instead.)

- (void)search:(TTSearch *_Nonnull)search completedWithResult:(NSArray<TTSearchResult*> *_Nonnull)result

Parameters

search

Object type TTSearch.

result

Object type NSArrayTTSearchResult.

Discussion

Method responsible to handle search response when search returns results. Within this callback user will obtain Response populated with Results.

Declared In

TTSearch.h

– search:completedWithResponse:

Method responsible to handle search response when search returns response. Within this callback user will obtain Response populated with Results.

- (void)search:(TTSearch *_Nonnull)search completedWithResponse:(TTSearchResponse *_Nonnull)response

Parameters

search

Object type TTSearch.

response

Object type TTSearchResponse.

Discussion

Method responsible to handle search response when search returns response. Within this callback user will obtain Response populated with Results.

Declared In

TTSearch.h

– search:failedWithError:

Method responsible to handle search response when search returns error. Within this callback user will obtain Throwable fail reason

- (void)search:(TTSearch *_Nonnull)search failedWithError:(TTResponseError *_Nonnull)error

Parameters

search

Object type TTSearch.

error

Object type TTResponseError.

Discussion

Method responsible to handle search response when search returns error. Within this callback user will obtain Throwable fail reason

Declared In

TTSearch.h