sdk-traffic / com.tomtom.online.sdk.traffic.api.flow.segmentdata / FlowSegmentDataApi

FlowSegmentDataApi

interface FlowSegmentDataApi

Contains public API methods of Traffic Flow Segment Data service.

Functions

findFlowSegmentData

abstract fun findFlowSegmentData(query: FlowSegmentDataQuery!): Single<FlowSegmentDataResponse!>!

Performs reactive search action based on provided FlowSegmentDataQuery object and returns the result to Observers subscribed to returned Observable.

abstract fun findFlowSegmentData(query: FlowSegmentDataQuery!, listener: FlowSegmentDataResultListener!): Unit

Performs search action based on provided FlowSegmentDataQuery object and returns the result with usage of FlowSegmentDataResultListener implementation.

Inheritors

TrafficApi

interface TrafficApi : FlowSegmentDataApi, IncidentDetailsApi, RxContext

Defines Traffic API main object.