Cause

public struct Cause

Indicates the cause of a traffic event.

Important

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

Public

  • Main cause of the traffic event.

    Declaration

    Swift

    public let mainCause: CauseCode
  • Warning level of the traffic event.

    Declaration

    Swift

    public let warningLevel: WarningLevel
  • Sub cause code of the traffic event if it exists.

    Declaration

    Swift

    public let subCause: Int?