Method GetObservations
GetObservations(Int32)
Gets the collection of DynamicEntityObservation objects associated with this dynamic entity.
Declaration
public IReadOnlyList<DynamicEntityObservation> GetObservations(int maximumObservations = -1)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maximumObservations | The maximum number of observations to return, including the latest. The default value is -1, which returns all available observations. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DynamicEntityObservation> | A read-only list of DynamicEntityObservation associated with this DynamicEntity. |
Remarks
Use this method to get a collection of DynamicEntityObservation objects associated with this dynamic entity. Observations are associated with a dynamic entity through a shared track ID. For ArcGISStreamService data sources, the track ID field is defined by the TrackIdField property.
The returned observations are sorted from the most recent to the oldest.
This method may return an empty collection if the dynamic entity has been purged from the local data cache.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |