SITNavigationInterface
@protocol SITNavigationInterface <NSObject>
Interface that every object that provides navigation must implement.
-
Set the navigation parameters to receive navigation updates.
Declaration
Objective-C
- (void)requestNavigationUpdates:(SITNavigationRequest *_Nonnull)request;
Parameters
request
SITNavigationRequest object.
-
Update the current location to compute the progress of a user with respect to a route.
Declaration
Objective-C
- (void)updateWithLocation:(SITLocation *_Nonnull)location;
Parameters
location
current location. You should introduced the locations provided by the SITLocationManager through its delegate interface.
-
Stops providing navigation updates and deletes
Declaration
Objective-C
- (void)removeUpdates;
-
Check if navigation manager is locaded with a valid request
Declaration
Objective-C
- (BOOL)isRunning;
Return Value
boolean value that determines if the SITNavigationManager is loaded with a valid request (YES) or not (NO)