ISItineraryRequestDelegate Protocol Reference

Conforms to NSObject
Declared in ISItineraryProvider.h

Overview

Protocol used to handle Itinerary request events.

– onItineraryRequestDoneWithSuccess:andRequest:andError: required method

Method called when an Itinerary request succeeded.

- (void)onItineraryRequestDoneWithSuccess:(Boolean)success andRequest:(ISItineraryBaseRequest *)request andError:(ISError *)error

Parameters

success

A boolean used to know if the request succeeded.

request

The related request.

error

If failed, it contains the related error.

Declared In

ISItineraryProvider.h

– onItineraryChangedWithRequest:andDistanceToItinerary: required method

Method called when the last itinerary changed (example: after user location changed).

- (void)onItineraryChangedWithRequest:(ISItineraryBaseRequest *)request andDistanceToItinerary:(float)distanceToItinerary

Parameters

request

The related request.

distanceToItinerary

The distance (in meters) between the last user location and the resulted itinerary (-1 if map changed).

Declared In

ISItineraryProvider.h