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

Cause

@Beta(2020, 10) class Cause

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

<init>

Cause(mainCauseCode: Int?, subCauseCode: Int?)

The cause of the traffic event.

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.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int