SYRouteProgress Class Reference

Exposes additional information about current route. More...

#import <SYNavigationRouteProgress.h>

Inheritance diagram for SYRouteProgress:
Collaboration diagram for SYRouteProgress:

Instance Methods

(instancetype) - initWithSDKRouteProgress: [implementation]
 

Properties

SYDistance distanceToEnd
 Distance in meters to the end of current route. More...
 
NSTimeInterval timeToEnd
 Time in seconds to the end of current route. Calculated without traffic delays and speed profiles. More...
 
NSTimeInterval timeToEndWithSpeedProfiles
 Time in seconds to the end of current route. Calculated with speed profiles, without traffic delays. More...
 
NSTimeInterval timeToEndWithSpeedProfileAndTraffic
 Time in seconds to the end of current route. Calculated with speed profiles and traffic delays. More...
 
CGFloat routeProgress
 Progress on current navigation route. (from 0.0 to 1.0) More...
 
SYTransportMode transportMode
 Transport mode. More...
 
SYGeoBoundingBoxtoEndBoundingBox
 Geographic bounding box of route polyline from current position to end position. More...
 

Detailed Description

Exposes additional information about current route.

Method Documentation

◆ initWithSDKRouteProgress:()

- (instancetype) initWithSDKRouteProgress: (const Sygic::Navigation::RouteProgress &)  progress
implementation

Property Documentation

◆ distanceToEnd

- (SYDistance) distanceToEnd
readnonatomicassign

Distance in meters to the end of current route.

◆ routeProgress

- (CGFloat) routeProgress
readnonatomicassign

Progress on current navigation route. (from 0.0 to 1.0)

◆ timeToEnd

- (NSTimeInterval) timeToEnd
readnonatomicassign

Time in seconds to the end of current route. Calculated without traffic delays and speed profiles.

◆ timeToEndWithSpeedProfileAndTraffic

- (NSTimeInterval) timeToEndWithSpeedProfileAndTraffic
readnonatomicassign

Time in seconds to the end of current route. Calculated with speed profiles and traffic delays.

◆ timeToEndWithSpeedProfiles

- (NSTimeInterval) timeToEndWithSpeedProfiles
readnonatomicassign

Time in seconds to the end of current route. Calculated with speed profiles, without traffic delays.

◆ toEndBoundingBox

- (SYGeoBoundingBox*) toEndBoundingBox
readnonatomicassign

Geographic bounding box of route polyline from current position to end position.

◆ transportMode

- (SYTransportMode) transportMode
readnonatomicassign

Transport mode.


The documentation for this class was generated from the following file: