TTAlongRouteSearchQueryBuilder Class Reference

Inherits from NSObject
Declared in TTAlongRouteSearchQuery.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.

– initWithTerm:withRoute:withMaxDetourTime:

Init of TTAlongRouteSearchQueryBuilder object

- (id)initWithTerm:(NSString *)term withRoute:(id<TTRouteData>)route withMaxDetourTime:(int)maxDetourTime

Parameters

term

Object containing the data needed to perform a search.

route

Route object with list of coordination.

maxDetourTime

Maximum detour time. Max value is 3600.

Return Value

TTAlongRouteSearchQuery object.

Discussion

Init of TTAlongRouteSearchQueryBuilder object

Declared In

TTAlongRouteSearchQuery.h

+ withTerm:withRoute:withMaxDetourTime:

Builder of TTAlongRouteSearchQueryBuilder object

+ (TTAlongRouteSearchQueryBuilder *)withTerm:(NSString *)term withRoute:(id<TTRouteData>)route withMaxDetourTime:(int)maxDetourTime

Parameters

term

Object containing the data needed to perform a search.

route

Route object with list of coordination.

maxDetourTime

Maximum detour time. Max value is 3600.

Return Value

TTAlongRouteSearchQuery object.

Discussion

Builder of TTAlongRouteSearchQueryBuilder object

Declared In

TTAlongRouteSearchQuery.h

– withLimit:

Part of builder TTAlongRouteSearchQueryBuilder obejct.

- (TTAlongRouteSearchQueryBuilder *)withLimit:(int)limit

Parameters

limit

Maximum number of responses that will be returned. Default value 10.

Return Value

TTAlongRouteSearchQuery object.

Discussion

Part of builder TTAlongRouteSearchQueryBuilder obejct.

Declared In

TTAlongRouteSearchQuery.h

– build

Build method.

- (TTAlongRouteSearchQuery *)build

Return Value

TTAlongRouteSearchQuery object.

Discussion

Build method.

Declared In

TTAlongRouteSearchQuery.h