ManeuverRuleConfiguration
public struct ManeuverRuleConfiguration
A matched rule configuration holding a target value and the distance thresholds that determine when the rule becomes active around a maneuver point.
-
The target value for this rule. Defaults to 0.0.
Declaration
Swift
public var value: Double -
Distance in meters for early activation. If the current position enters this threshold of the upcoming maneuver while still within
TrackingCameraBehavior.ManeuverRuleConfiguration.postManeuverActivationThresholdInMetersof the previous maneuver, the camera attribute behaves as though it were already in the upcoming maneuver’s pre-activation zone. Must be non-negative. Defaults to 0.0.Declaration
Swift
public var earlyPreManeuverActivationThresholdInMeters: Double -
Distance in meters before the next maneuver point within which the attribute becomes active. Must be non-negative. Defaults to 0.0.
Declaration
Swift
public var preManeuverActivationThresholdInMeters: Double -
Distance in meters after the previous maneuver point within which the attribute remains active. Must be non-negative. Defaults to 0.0.
Declaration
Swift
public var postManeuverActivationThresholdInMeters: Double -
init(value:earlyPreManeuverActivationThresholdInMeters: preManeuverActivationThresholdInMeters: postManeuverActivationThresholdInMeters: ) Creates a new instance.
Declaration
Swift
public init(value: Double = 0.0, earlyPreManeuverActivationThresholdInMeters: Double = 0.0, preManeuverActivationThresholdInMeters: Double = 0.0, postManeuverActivationThresholdInMeters: Double = 0.0)