TTReachableRangeDelegate Protocol Reference

Conforms to NSObject
Declared in TTReachableRange.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.

– reachableRange:completedWithResult: required method

The Calculate Reachable Range service calculates a set of locations that can be reached from the origin point. It optimizes for routes with a given route-type (e.g. fastest, eco, etc) but limits the range for the given budget and consumption parameters.

- (void)reachableRange:(TTReachableRange *)range completedWithResult:(TTReachableRangeResponse *)response

Parameters

range

Object type TTReachableRange.

response

Object type TTReachableRangeResponse.

Discussion

The Calculate Reachable Range service calculates a set of locations that can be reached from the origin point. It optimizes for routes with a given route-type (e.g. fastest, eco, etc) but limits the range for the given budget and consumption parameters.

The information returned is a polygon boundary in counterclockwise orientation and the precise polygon center (the result of map-matching the origin point).

Declared In

TTReachableRange.h

– reachableRange:completedWithResponseError: required method

Method responsible to handle reachable range errors. Within this callback user will obtain TTResponseError containing a Throwable fail reason

- (void)reachableRange:(TTReachableRange *)range completedWithResponseError:(TTResponseError *)responseError

Parameters

range

Object type TTReachableRange.

responseError

Object type TTResponseError.

Discussion

Method responsible to handle reachable range errors. Within this callback user will obtain TTResponseError containing a Throwable fail reason

Declared In

TTReachableRange.h