sdk-traffic / com.tomtom.online.sdk.traffic.incidents.response / IncidentIconCategory

IncidentIconCategory

class IncidentIconCategory

The icon category associated with a traffic incident.

Enum Values

UNKNOWN

ACCIDENT

FOG

DANGEROUS_CONDITIONS

RAIN

ICE

JAM

LANE_CLOSED

ROAD_CLOSED

ROAD_WORKS

WIND

FLOODING

DETOUR

CLUSTER

Functions

fromInt

static fun fromInt(value: Int): IncidentIconCategory

Static method used to search trough enum and retrieve the incident icon category based on passed value.

getValue

fun getValue(): Int

Getter of the current incident icon category used in IncidentIconCategory#fromInt(int) for searching purposes.