sdk-routing / com.tomtom.online.sdk.routing.route.information / Cause

Cause

@PublicPreview("2021.06") data class Cause : Serializable

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.

Properties

mainCauseCode

val mainCauseCode: Int?

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

subCauseCode

val subCauseCode: Int?

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