sdk-traffic / com.tomtom.online.sdk.traffic.flow.response / FlowSegmentDataResponse

FlowSegmentDataResponse

open class FlowSegmentDataResponse : ServiceBaseResponse

Response to a Traffic Flow Segment Data Request.

Constructors

<init>

FlowSegmentDataResponse()

Response to a Traffic Flow Segment Data Request.

Properties

confidence

var confidence: Double

coordinates

val coordinates: MutableList<LatLng!>!

currentSpeed

var currentSpeed: Int

currentTravelTime

var currentTravelTime: Double

freeFlowSpeed

var freeFlowSpeed: Int

freeFlowTravelTime

var freeFlowTravelTime: Double

functionalRoadClass

var functionalRoadClass: FunctionalRoadClass!

openLR

var openLR: Optional<String!>!

realtimeRatio

var realtimeRatio: Optional<Double!>!

Functions

addCoordinate

open fun addCoordinate(coordinate: LatLng!): Unit

getConfidence

open fun getConfidence(): Double

Gets confidence.

getCoordinates

open fun getCoordinates(): ImmutableList<LatLng!>!

Get the list of coordinates of a result.

getCurrentSpeed

open fun getCurrentSpeed(): Int

Gets currentSpeed.

getCurrentTravelTime

open fun getCurrentTravelTime(): Double

Gets currentTravelTime.

getFreeFlowSpeed

open fun getFreeFlowSpeed(): Int

Gets freeFlowSpeed.

getFreeFlowTravelTime

open fun getFreeFlowTravelTime(): Double

Gets freeFlowTravelTime.

getFunctionalRoadClass

open fun getFunctionalRoadClass(): FunctionalRoadClass!

Gets functionalRoadClass.

getOpenLR

open fun getOpenLR(): Optional<String!>!

Gets openLR code.

getRraltimeRatio

open fun getRraltimeRatio(): Optional<Double!>!

Gets realtimeRatio.

setFunctionalRoadClass

open fun setFunctionalRoadClass(frc: Int): Unit

setOpenLR

open fun setOpenLR(openLR: String!): Unit

setRealtimeRatio

open fun setRealtimeRatio(realtimeRatio: Double): Unit