SYNavigationManager is a class that provides guidance advice and information along a route. More...
#import <SYNavigationManager.h>


Public Types | |
| typedef void(^ | SYGetWaypointsCompletionBlock) (NSArray< SYWaypoint * > *_Nullable waypoints) |
| typedef void(^ | SYRouteProgressCompletionBlock) (SYRouteProgress *_Nullable progress) |
Instance Methods | |
| (NSArray< SYWaypoint * > *waypoints) | - __deprecated_msg |
| The time interval returned includes delays due to traffic etc. More... | |
| ((unavailable("Use +[SYNavigation sharedNavigation] instead.") | - __attribute__ |
| SYNavigation is singleton, use [SYNavigation sharedNavigation] to access singleton instance. More... | |
| (void) | - startNavigationWithRoute: |
| Starts a turn-by-turn navigation session using the specified route. More... | |
| (void) | - stopNavigation |
| Stops the current navigation started via startNavigationWithRoute. More... | |
| (BOOL) | - isNavigating |
| Return yes, if you are currently in navigation mode. More... | |
| ("getRouteProgress is deprecated, use getRouteProgressWithCompletion instead") | - __deprecated_msg |
| Get current navigation route info. Returns nil if SYNavigationManager is not navigating. More... | |
| (void) | - getRouteProgressWithCompletion: |
| Get current navigation route info. Returns nil if SYNavigationManager is not navigating. More... | |
| (void) | - getWaypointsWithCompletion: |
| The time interval returned includes delays due to traffic etc. More... | |
| (void) | - replayLastInstructionAudioFeedback |
| Replays last instruction audio feedback during navigation. More... | |
| (void) | - getCurrentStreetDetailWithCompletion: |
| This method will provide additional information about currently passed route. More... | |
Class Methods | |
| (nullable SYNavigationManager *) | + sharedNavigation |
| Returns SYNavigationManager singleton instance (or nil if SygicMaps SDK is not initialized). More... | |
| ((unavailable("Use +[SYNavigation sharedNavigation] instead.") | + __attribute__ |
Properties | |
| id< SYNavigationAudioFeedbackDelegate > | audioFeedbackDelegate |
| Delegate to handle audio feedback. More... | |
| SYRouteEventNotificationsSettings * | settings |
| Route events notifications settings. More... | |
| BOOL | backgroundNavigationEnabled |
| Controls whether navigation is paused when the application is sent to the background. The current [SYPositioning dataSource] must support background position updates in order to navigate in the background. More... | |
| BOOL | batteryStatusUpdateEnabled |
| Enables automatic profile updating with delegate callback didUpdateBatteryCapacity. Note that didUpdateBatteryCapacity is called only if currentEVProfile is not nil. More... | |
| SYEVProfile * | currentEVProfile |
| Electric vehicle profile for current navigation. Also used as a filter for EV charging stations in places on route notification (SYNavigationDelegate navigation:didUpdatePlace:). If the value is nil, SYNavigationDelegate is called as follows: navigation:didUpdatePlace: will deliver all available EV stations, navigation:didFindWaypointOutOfRange:withCapacity: will not be called while currentEVProfile is nil, navigation:didUpdateBatteryCapacity: will not be called while currentEVProfile is nil. Default value is nil. More... | |
SYNavigationManager is a class that provides guidance advice and information along a route.
| - (typedef void(^ SYGetWaypointsCompletionBlock) (NSArray< SYWaypoint * > *_Nullable waypoints)) |
| - (typedef void(^ SYRouteProgressCompletionBlock) (SYRouteProgress *_Nullable progress)) |
| - (NSArray<SYWaypoint*>* waypoints) __deprecated_msg | ("waypoints is) | deprecated | |
| (use getWaypointsWithCompletion instead") | |||
The time interval returned includes delays due to traffic etc.
| + (nullable SYNavigationManager*) sharedNavigation |
Returns SYNavigationManager singleton instance (or nil if SygicMaps SDK is not initialized).
| - ((unavailable("Use +[SYNavigation sharedNavigation] instead.") __attribute__ |
SYNavigation is singleton, use [SYNavigation sharedNavigation] to access singleton instance.
| + ((unavailable("Use +[SYNavigation sharedNavigation] instead.") __attribute__ |
| - (void) startNavigationWithRoute: | (nullable SYRoute *) | route |
Starts a turn-by-turn navigation session using the specified route.
| - (void) stopNavigation |
Stops the current navigation started via startNavigationWithRoute.
| - (BOOL) isNavigating |
Return yes, if you are currently in navigation mode.
| - ("getRouteProgress is deprecated, use getRouteProgressWithCompletion instead") __deprecated_msg |
Get current navigation route info. Returns nil if SYNavigationManager is not navigating.
| - (void) getRouteProgressWithCompletion: | (nonnull SYRouteProgressCompletionBlock) | completion |
Get current navigation route info. Returns nil if SYNavigationManager is not navigating.
| - (void) getWaypointsWithCompletion: | (nonnull SYGetWaypointsCompletionBlock) | completion |
The time interval returned includes delays due to traffic etc.
| - (void) replayLastInstructionAudioFeedback |
Replays last instruction audio feedback during navigation.
| - (void) getCurrentStreetDetailWithCompletion: | (nonnull SYStreetDetailCompletionBlock) | completion |
This method will provide additional information about currently passed route.
| completion | callback to receive requested additional information. |
|
readwritenonatomicweak |
Delegate to handle audio feedback.
|
readnonatomicassign |
Route events notifications settings.
|
readwritenonatomicassign |
Controls whether navigation is paused when the application is sent to the background. The current [SYPositioning dataSource] must support background position updates in order to navigate in the background.
|
readwritenonatomicassign |
Enables automatic profile updating with delegate callback didUpdateBatteryCapacity. Note that didUpdateBatteryCapacity is called only if currentEVProfile is not nil.
|
readwritenonatomicassign |
Electric vehicle profile for current navigation. Also used as a filter for EV charging stations in places on route notification (SYNavigationDelegate navigation:didUpdatePlace:). If the value is nil, SYNavigationDelegate is called as follows: navigation:didUpdatePlace: will deliver all available EV stations, navigation:didFindWaypointOutOfRange:withCapacity: will not be called while currentEVProfile is nil, navigation:didUpdateBatteryCapacity: will not be called while currentEVProfile is nil. Default value is nil.