Show / Hide Table of Contents

Class DynamicEntity

A GeoElement that represents a real-world object received from a DynamicEntityDataSource.

Inheritance
Object
GeoElement
DynamicEntity
GeoElement.Attributes
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 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.

Applies to

TargetVersions
.NET Standard 2.0200.2
.NET 6.0200.2
.NET 6.0 Windows200.2
.NET 6.0 Android200.2
.NET 6.0 iOS200.2
.NET Framework200.2
UWP200.2
In This Article
Back to top Copyright © 2022 Esri.