Cause

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
data class Cause(var mainCause: CauseCode, var warningLevel: WarningLevel, var subCause: Int? = null)

Deprecated

This will be removed from future releases after 2027-04-19.

Indicates the cause of a traffic event.

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.