sdk-traffic / com.tomtom.online.sdk.traffic.flow.query / FlowSegmentStyle

FlowSegmentStyle

class FlowSegmentStyle

Represents the type of flow segment data displayed on the tile.

Enum Values

ABSOLUTE

RELATIVE

RELATIVE_DELAY

Functions

fromInt

static fun fromInt(value: Int): FlowSegmentStyle

Static method that takes the int value which will be searched for in enum. If the value is valid and exists, then the proper FlowSegmentStyle will be returned, otherwise IllegalArgumentException will be thrown.

getValue

fun getValue(): Int

Getter for the current flow segment style. Used in the FlowSegmentStyle#fromInt(int) method.