HereSDKRouteManeuver
@interface HereSDKRouteManeuver : NSObject
A maneuver in a leg of the route
-
Distance of the leg (in the units requested in HereSDKRouteRequest)
Declaration
Objective-C
@property (readonly, nonatomic) float distance;
Swift
var distance: Float { get }
-
Estimated travel time for the leg, in seconds
Declaration
Objective-C
@property (readonly, nonatomic) float travelTime;
Swift
var travelTime: Float { get }
-
Index of the first point of the leg in the route geometry
Declaration
Objective-C
@property (readonly, nonatomic) uint32_t firstPointIndex;
Swift
var firstPointIndex: UInt32 { get }
-
Index of the last point of the leg in the route geometry
Declaration
Objective-C
@property (readonly, nonatomic) uint32_t lastPointIndex;
Swift
var lastPointIndex: UInt32 { get }
-
Instruction text, e.g.
Turn right onto Main Street
Declaration
Objective-C
@property (readonly, nonatomic) NSString *instruction;
Swift
var instruction: String! { get }
-
The maneuver action
Declaration
Objective-C
@property (readonly, nonatomic) HereSDKRouteLegManeuverAction action;
Swift
var action: HereSDKRouteLegManeuverAction { get }
-
The maneuver direction. For turns, this is the turn direction. For departure/arrival, this is the position’s side of the street in the current direction of travel.
Declaration
Objective-C
@property (readonly, nonatomic) HereSDKRouteLegManeuverDirection direction;
Swift
var direction: HereSDKRouteLegManeuverDirection { get }
-
For roundabouts or traffic circles, indicates the number of the exit to take. A value of 0 means that exit information is not available and should not be used.
Declaration
Objective-C
@property (readonly, nonatomic) UInt32 roundaboutExitNumber;
Swift
var roundaboutExitNumber: UInt32 { get }
-
Primary road name for the maneuver.
Declaration
Objective-C
@property (readonly, nonatomic) NSString *roadName;
Swift
var roadName: String! { get }
-
Primary road numbers, if available, of the maneuver
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSString *> *roadsNumberArray;
Swift
var roadsNumberArray: [String]! { get }
-
Sign text indicating the direction a driver should follow.
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSString *> *signsInfoArray;
Swift
var signsInfoArray: [String]! { get }
-
The number of items in @c signInfoArray without causing the array to be created.
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSString *> *exitsInfoArray;
Swift
var exitsInfoArray: [String]! { get }