Cause

data class Cause(var mainCause: CauseCode, var warningLevel: WarningLevel, var subCause: Int? = null)

Indicates the cause of a traffic event.

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

Constructors

Link copied to clipboard
constructor(mainCause: CauseCode, warningLevel: WarningLevel, subCause: Int? = null)

Properties

Link copied to clipboard

Main cause of the traffic event.

Link copied to clipboard

Sub cause code of the traffic event if it exists.

Link copied to clipboard

Warning level of the traffic event.