Class DynamicEntityDataSource
A dynamic entity data source that streams observations to a client.
Implements
Namespace: Esri.ArcGISRuntime.RealTime
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class DynamicEntityDataSource : ILoadable
Remarks
The Dynamic
- maintenance of a persistent connection for streaming
- control over the storage of observations in its local data cache
- notification of received or purged observations
This class is used as the data source for a Dynamic
Users may extend this class by deriving from it. Derived classes must override the following methods:
-
On
Load : populate and return a DynamicAsync() Entity object.Data Source Info -
On
Connect : start receiving or processing observation data.Async(Cancellation Token) -
On
Disconnect : stop receiving or processing observation data.Async()
Constructors
Name | Description |
---|---|
Dynamic |
Initializes a new instance of the Dynamic |
Properties
Name | Description |
---|---|
Connection |
Gets the current network connection exception. |
Connection |
Gets the current network connection status of the Dynamic |
Load |
Gets the load error. |
Load |
Gets the load status. |
Maximum |
Gets or sets the maximum number of attempts to reconnect after a connection fails. |
Purge |
Gets a Dynamic |
Reconnection |
Gets or sets the time to wait between attempts to reconnect. |
Methods
Name | Description |
---|---|
AddObservation(Geometry, IEnumerable<KeyValuePair<String, Object>>) | Adds or updates the newly-received observation data in the data source store. |
Cancel |
Cancels loading metadata for the object. |
Connect |
Connects to a service that provides dynamic entity observations. |
Delete |
Deletes the dynamic entity identified by the ID value from the data source store. |
Disconnect |
Closes the connection to a service. |
Load |
Loads the metadata for the object asynchronously. |
On |
Handles the connection process of a data source. |
On |
Handles the disconnection process of a data source. |
On |
Handles the loading process of a data source and returns Dynamic |
Purge |
Removes all dynamic entity observations from the in-memory data cache as well as from the map or scene. |
Retry |
Loads or retries loading metadata for the object asynchronously. |
Set |
Handles the error when the connection fails and may attempt to reconnect. |
Events
Name | Description |
---|---|
Connection |
Notification that the Connection |
Dynamic |
Notification that a Dynamic |
Dynamic |
Notification that a new Dynamic |
Dynamic |
Notification that a Dynamic |
Dynamic |
Notification that a new Dynamic |
Loaded | Occurs when the dynamic entity data source is loaded. |
Load |
Occurs when the dynamic entity data source Load |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |