SITDirectionsInterface Protocol Reference

Conforms to NSObject
Declared in SITDirectionsInterface.h

Overview

Protocol that describes the interface every object providing directions should conform to.

+ sharedInstance required method

Call this method to receive a reference to an initialized object of this class.

+ (instancetype)sharedInstance

Return Value

You should always use this method to obtain the manager object and should not try to create instances directly.

Declared In

SITDirectionsInterface.h

– requestDirections: required method

Request to compute the shortest route and indications from two points inside a building.

- (void)requestDirections:(SITDirectionsRequest *)request

Parameters

request

object that encapsulates information about the origin and the destination of the route.

Discussion

For now, this component only process requests where origin and destination are inside indoor areas at the same building.

Declared In

SITDirectionsInterface.h

– reset required method

Clear all information of the requests being processed at the moment.

- (void)reset

Discussion

This method cancel every pending SITDirectionRequest.

Declared In

SITDirectionsInterface.h