TrafficFlowBase

public protocol TrafficFlowBase : AnyObject

This interface provides details about a traffic flow.
For additional information about fields, refer to Traffic API v7 API Reference: Traffic API v7.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • The reference speed in meters per second along the roadway when no traffic is present.

    Declaration

    Swift

    var freeFlowSpeedInMetersPerSecond: Double { get }
  • A value for the amount of traffic on the roadway.

    Declaration

    Swift

    var jamFactor: Double { get }