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

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.

Parameters

query - FlowSegmentDataQuery!: Object which contains data necessary to execute search action

Return
Single<FlowSegmentDataResponse!>!: FlowSegmentDataResponse's Observable object.

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.

Parameters

query - FlowSegmentDataQuery!: The object which contains data necessary to execute search action.

listener - FlowSegmentDataResultListener!: The listener which informs the subscriber when search result is available. It contains FlowSegmentDataResponse object.