Cause

data class Cause(val mainCauseCode: Int?, val subCauseCode: Int?)

The cause of the traffic event.

Parameters

mainCauseCode

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

subCauseCode

Gets the subcause of the traffic event as defined in the TPEG2-TEC standard.

Constructors

Link copied to clipboard
constructor(mainCauseCode: Int?, subCauseCode: Int?)

Properties

Link copied to clipboard
Link copied to clipboard