RegionalSpeedLimit

public struct RegionalSpeedLimit

Describes speed limits for the region.

Important

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

Lifecycle

Public

  • Road types for the speed limit.

    See more

    Declaration

    Swift

    public enum RoadType
  • Speed limit types.

    See more

    Declaration

    Swift

    public enum SpeedLimitType
  • Type of the road for the speed limit, null if not available.

    Declaration

    Swift

    public let roadType: RegionalSpeedLimit.RoadType?
  • Specifies if the speed limit is weather dependent.

    Declaration

    Swift

    public let isWeatherDependent: Bool
  • Specifies if the speed limit is time dependent.

    Declaration

    Swift

    public let isTimeDependent: Bool
  • Type of the speed limit.

    Declaration

    Swift

    public let type: RegionalSpeedLimit.SpeedLimitType
  • Value for the speed limit in units specified by the country, null if not available.

    Declaration

    Swift

    public let speed: Measurement<UnitSpeed>?