queryDynamicEntitiesByTrackIds method

Future<DynamicEntityQueryResult> queryDynamicEntitiesByTrackIds(
  1. List<String> trackIds
)

Returns all dynamic entities with track ID values that match the specified list of track IDs.

Use this method to query for dynamic entities from the data source that have track ID values matching the specified track IDs.

The track ID is an attribute value in a DynamicEntityDataSource that uniquely identifies a dynamic entity. For an ArcGISStreamService, the track ID attribute is defined by the ArcGISStreamServiceInfo.trackIdField property. For a custom DynamicEntityDataSource, the track ID attribute is defined by the DynamicEntityDataSourceInfo.entityIdFieldName property.

The returned DynamicEntityQueryResult object can be used to iterate over the query results.

Parameters:

  • trackIds — Unique dynamic entity track IDs to query for.

Return Value: The DynamicEntityQueryResult that contains all dynamic entities with track ID values that match the specified list of track IDs.