queryForFlowInBox abstract method

TaskHandle queryForFlowInBox(
  1. GeoBox boxArea,
  2. TrafficFlowQueryOptions queryOptions,
  3. TrafficFlowQueryCallback callback
)

Asynchronously queries for traffic flow using a bounding box as a filter.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • boxArea The bounding box area to search for traffic flow.

  • queryOptions The options which are specific for flow query.

  • callback It is always invoked on the main thread.

Returns TaskHandle. Handle that will be used to manipulate the execution of the task.

Implementation

TaskHandle queryForFlowInBox(GeoBox boxArea, TrafficFlowQueryOptions queryOptions, TrafficFlowQueryCallback callback);