@protocol SITDirectionsInterface <NSObject>
protocol SITDirectionsInterface : NSObjectProtocol
Protocol that describes the interface every object providing directions should conform to.
Call this method to receive a reference to an initialized object of this class.
+ (instancetype _Nonnull)sharedInstance;
static func sharedInstance() -> Self
You should always use this method to obtain the manager object and should not try to create instances directly.
Request to compute the shortest route and indications from two points inside a building.
NoteFor now, this component only process requests where origin and destination are inside indoor areas at the same building.
- (void)requestDirections:(SITDirectionsRequest *_Nonnull)request;
func requestDirections(_ request: SITDirectionsRequest)
object that encapsulates information about the origin and the destination of the route.
Clear all information of the requests being processed at the moment.
NoteThis method cancel every pending SITDirectionRequest.