Loading...
Searching...
No Matches
NCRouteProgress Class Reference

#include <com/navigine/idl/objc/NCRouteProgress.h>

Inherits NSObject.

Instance Methods

(nonnull instancetype) - initWithPoint:sublocationId:advance:remainingDistance:remainingTime:legIndex:
 Default constructor for class NCRouteProgress.
 

Class Methods

(nonnull instancetype) + routeProgressWithPoint:sublocationId:advance:remainingDistance:remainingTime:legIndex:
 Factory method for class NCRouteProgress.
 

Properties

NCGlobalPoint * point
 
NSNumber * sublocationId
 
float advance
 
float remainingDistance
 
float remainingTime
 Pedestrian ETA in seconds for the part of the route still ahead. Outdoor legs use the OSRM duration scaled by the remaining fraction. Indoor legs use a fixed walking speed (1.4 m/s). Not a traffic ETA.
 
int32_t legIndex
 

Detailed Description

Definition at line 10 of file NCRouteProgress.h.

Method Documentation

◆ initWithPoint:sublocationId:advance:remainingDistance:remainingTime:legIndex:

- (nonnull instancetype) initWithPoint: (nonnull NCGlobalPoint *) point
sublocationId: (nullable NSNumber *) sublocationId
advance: (float) advance
remainingDistance: (float) remainingDistance
remainingTime: (float) remainingTime
legIndex: (int32_t) legIndex 

Default constructor for class NCRouteProgress.

◆ routeProgressWithPoint:sublocationId:advance:remainingDistance:remainingTime:legIndex:

+ (nonnull instancetype) routeProgressWithPoint: (nonnull NCGlobalPoint *) point
sublocationId: (nullable NSNumber *) sublocationId
advance: (float) advance
remainingDistance: (float) remainingDistance
remainingTime: (float) remainingTime
legIndex: (int32_t) legIndex 

Factory method for class NCRouteProgress.

Property Documentation

◆ advance

- (float) advance
readnonatomicassign

Definition at line 36 of file NCRouteProgress.h.

◆ legIndex

- (int32_t) legIndex
readnonatomicassign

Definition at line 47 of file NCRouteProgress.h.

◆ point

- (NCGlobalPoint*) point
readnonatomicassign

Definition at line 32 of file NCRouteProgress.h.

◆ remainingDistance

- (float) remainingDistance
readnonatomicassign

Definition at line 38 of file NCRouteProgress.h.

◆ remainingTime

- (float) remainingTime
readnonatomicassign

Pedestrian ETA in seconds for the part of the route still ahead. Outdoor legs use the OSRM duration scaled by the remaining fraction. Indoor legs use a fixed walking speed (1.4 m/s). Not a traffic ETA.

Definition at line 45 of file NCRouteProgress.h.

◆ sublocationId

- (NSNumber*) sublocationId
readnonatomicassign

Definition at line 34 of file NCRouteProgress.h.


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