TTGeometrySearchDelegate Protocol Reference

Declared in TTGeometrySearch.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 geometry search response when search returns results. Within this callback user will obtain Response populated with Results.

- (void)search:(TTGeometrySearch *)search completedWithResult:(TTGeometrySearchResponse *)result

Parameters

search

Object type TTGeometrySearch.

result

Object type TTGeometrySearchResponse.

Discussion

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

Declared In

TTGeometrySearch.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:(TTGeometrySearch *)search failedWithError:(TTResponseError *)error

Parameters

search

Object type TTGeometrySearch.

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

TTGeometrySearch.h