Show / Hide Table of Contents

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
ArcGISStreamServiceInfo
DynamicEntityDataSourcePurgeOptions

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.