Currently, this is the only concrete class deriving from DynamicEntityDataSource.
Members of this class allow an application to:
In the current release, only stream services that send point geometries are supported.
To learn more about ArcGIS stream services see: ArcGIS Server - Stream Services in the ArcGIS Enterprise documentation.
Relevant samples:
[explicit, since Esri::ArcGISRuntime 200.6]
ArcGISStreamService::ArcGISStreamService(Esri::ArcGISRuntime::PortalItem *item, QObject *parent = nullptr)
Creates a new stream service from a portal item.
The supported item types are PortalItemType::Feed and PortalItemType::StreamService.
This function was introduced in Esri::ArcGISRuntime 200.6.
See also portalItem.
[explicit]
ArcGISStreamService::ArcGISStreamService(const QUrl &url, QObject *parent = nullptr)
Creates a new stream service.
[override virtual noexcept]
ArcGISStreamService::~ArcGISStreamService()
Destructor.
Esri::ArcGISRuntime::ArcGISStreamServiceFilter *ArcGISStreamService::filter() constDefines and returns which observations are returned from the service.
Use this property to define a filter that informs the server which observations to send on the stream. The filter may include spatial or attribute criteria (or both). Using this server-side filter is useful for limiting how much data must be handled in the client application, which can help with application performance and memory footprint.
This property is used when the data source connection is initiated; therefore, the filter cannot be changed once the data source is loaded.
The default value is nullptr
, meaning no filter is applied.
See also setFilter().
[since Esri::ArcGISRuntime 200.6]
Esri::ArcGISRuntime::PortalItem *ArcGISStreamService::portalItem() const
Returns the PortalItem the stream service was created from.
The supported item types are PortalItemType::Feed and PortalItemType::StreamService.
This function was introduced in Esri::ArcGISRuntime 200.6.
See also ArcGISStreamService(Esri::ArcGISRuntime::PortalItem*, QObject*).
Esri::ArcGISRuntime::ArcGISStreamServiceInfo *ArcGISStreamService::serviceInfo() constReturns metadata that describes the ArcGIS stream service.
This property is nullptr
by default and is populated when the data source loads.
Once the data source is loaded, you can use this metadata to find things like:
Sets the filter to filter.
See also filter.
[override virtual]
QUrl ArcGISStreamService::url() const
Reimplements: DynamicEntityDataSource::url() const.
Returns the URL of the stream service.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4