Cause

public struct Cause

Represents information about the cause of a traffic event.

Lifecycle

  • Initalizer

    Declaration

    Swift

    public init(mainCauseCode: Int)

    Parameters

    mainCauseCode

    The main cause of the traffic event as defined in the TPEG2-TEC standard.

Public

  • The main cause of the traffic event as defined in the TPEG2-TEC standard.

    Declaration

    Swift

    public let mainCauseCode: Int