Cause

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

Indicates the cause of a traffic event.

Constructors

Link copied to clipboard
constructor(mainCause: CauseCode, 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. Contains a value in the sub cause table defined by the mainCauseCode, as defined in the TPEG2-TEC standard.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String