TTSearchDelegate Protocol Reference
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:
required method
Method responsible to handle search response when search returns results. Within this callback user will obtain Response populated with Results.
- (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:failedWithError:
required method
Method responsible to geometry route search response when search returns error. Within this callback user will obtain SearchError containing a 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 geometry route search response when search returns error. Within this callback user will obtain SearchError containing a Throwable fail reason
Declared In
TTSearch.h