RegionalSpeedLimit

public struct RegionalSpeedLimit : Equatable

SpeedLimit that is specific to a region in a country.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializes instance of RegionalSpeedLimit.

    Declaration

    Swift

    public init(
        speedLimit: TomTomSDKCommon.SpeedLimit,
        roadCategory: RoadCategory?
    )

Public

  • TomTomSDKCommon/RoadCategory of the road for the speed limit, nil if not available.

    Declaration

    Swift

    public let roadCategory: RoadCategory?
  • TomTomSDKCommon/SpeedLimit on the road.

    Declaration

    Swift

    public let speedLimit: TomTomSDKCommon.SpeedLimit