Class DynamicEntity
A GeoElement that represents a real-world object received from a DynamicEntityDataSource.
Namespace: Esri.ArcGISRuntime.RealTime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class DynamicEntity : GeoElement
Remarks
Dynamic entities are updated with data coming from a stream. These updates are referred to as observations and are represented by the DynamicEntityObservation class. An observation is a static snapshot of the state of a dynamic entity at a given time. This snapshot includes the associated dynamic entity's location (geometry) as well as all its attributes. For example, an observation for a moving aircraft may include updates to attributes like speed, altitude, and heading in addition to its updated location. While observations remain static, a dynamic entity changes because it's essentially a pointer to the most recent observation.
The properties of a DynamicEntity, such as its attributes and geometry, are updated when new observations are received from the server. You should not cache the Geometry or Attributes collection properties as they are completely replaced when a new observation is received for the associated DynamicEntity.
Properties
Name | Description |
---|---|
EntityId | Gets a unique identifier for the DynamicEntity. |
Geometry | Gets or sets the Geometry of the dynamic entity. |
Methods
Name | Description |
---|---|
GetLatestObservation() | Gets the latest DynamicEntityObservation associated with this dynamic entity. |
GetObservations(Int32) | Gets the collection of DynamicEntityObservation objects associated with this dynamic entity. |
Events
Name | Description |
---|---|
DynamicEntityChanged | Notification that the DynamicEntity has changed. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.7 |
.NET | 200.3 - 200.7 |
.NET Windows | 200.3 - 200.7 |
.NET Android | 200.3 - 200.7 |
.NET iOS | 200.3 - 200.7 |
.NET Framework | 200.3 - 200.7 |
UWP | 200.3 - 200.7 |