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

fromInt

@NonNull 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.

Parameters

value - Int: An integer that will be searched in enum.