SYNavigationManager is a class that provides guidance advice and information along a route. More...
#import <SYNavigationManager.h>
Instance Methods | |
((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... | |
(nullable SYRouteProgress *) | - getRouteProgress |
Get current navigation route info. Returns nil if SYNavigationManager is not navigating. 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 | |
(nonnull SYNavigationManager *) | + sharedNavigation |
Returns SYNavigationManager singleton instance. More... | |
((unavailable("Use +[SYNavigation sharedNavigation] instead.") | + __attribute__ |
Properties | |
id< SYNavigationAudioFeedbackDelegate > | audioFeedbackDelegate |
Delegate to handle audio feedback. More... | |
NSArray< SYWaypoint * > * | waypoints |
The time interval returned includes delays due to traffic etc. 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.
+ (nonnull SYNavigationManager*) sharedNavigation |
Returns SYNavigationManager singleton instance.
- ((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.
- (nullable SYRouteProgress*) getRouteProgress |
Get current navigation route info. Returns nil if SYNavigationManager is not navigating.
- (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 |
The time interval returned includes delays due to traffic etc.
|
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.