Constants

public enum Constants

Contains boundary values for the parameters used to initialize TomTomSDKCommon/NumberOfLanes.

  • Range of valid values for the number of lanes. A value of 0 indicates that the vehicle is moving in the wrong direction on a one-way road. A value equal to the Constants.numberOfLanesRange.lowerBound indicates that the actual number of lanes is greater than or equal to the Constants.numberOfLanesRange.upperBound.

    Declaration

    Swift

    public static let numberOfLanesRange: ClosedRange<Int>