TTAlongRouteSearchDelegate Protocol Reference

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

- (void)search:(TTAlongRouteSearch *)search completedWithResult:(TTAlongRouteSearchResponse *)response

Parameters

search

Object type TTAlongRouteSearch.

response

Object type TTAlongRouteSearchResponse.

Discussion

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

Declared In

TTAlongRouteSearch.h

– search:failedWithError: required method

Method responsible to handle along route search response when search returns error. Within this callback user will obtain SearchError containing a Throwable fail reason

- (void)search:(TTAlongRouteSearch *)search failedWithError:(TTResponseError *)error

Parameters

search

object type TTAlongRouteSearch.

error

object type TTResponseError.

Discussion

Method responsible to handle along route search response when search returns error. Within this callback user will obtain SearchError containing a Throwable fail reason

Declared In

TTAlongRouteSearch.h