The following members of class ServiceAreaTask are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) | Service |
(deprecated) Esri | create |
(deprecated) Esri | solve |
Signals
(deprecated) void | create |
(deprecated) void | solve |
Member Function Documentation
[deprecated]
ServiceAreaTask::ServiceAreaTask (const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
This function is deprecated. We strongly advise against using it in new code.
Constructor that takes a url to a secured NA service endpoint and a credential, with an optional parent.
[deprecated]
Esri::ArcGISRuntime::TaskWatcher ServiceAreaTask::createDefaultParameters ()
This function is deprecated. We strongly advise against using it in new code.
Creates default service area parameters from the service.
The createDefaultParametersCompleted signal emits when the operation is complete, giving access to the resulting ServiceAreaParameters.
[signal, deprecated]
void ServiceAreaTask::createDefaultParametersCompleted (const QUuid &taskId , const Esri::ArcGISRuntime::ServiceAreaParameters &defaultParameters )
This function is deprecated. We strongly advise against using it in new code.
Signal emitted after the createDefaultParameters asynchronous method completes.
- taskId - The task ID of the asynchronous task.
- defaultParameters - The generated default ServiceAreaParameters.
[override virtual, deprecated]
Esri::ArcGISRuntime::Credential *ServiceAreaTask::credential() const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::credential() const.
Returns the security credential used to access the service area service.
Only applicable if using an online service that is secured.
[override virtual, deprecated]
Esri::ArcGISRuntime::RequestConfiguration ServiceAreaTask::requestConfiguration () const
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::requestConfiguration() const.
Returns the RequestConfiguration in use by this task.
See also setRequestConfiguration().
[override virtual, deprecated]
void ServiceAreaTask::setRequestConfiguration (const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration )
This function is deprecated. We strongly advise against using it in new code.
Reimplements: RemoteResource::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration).
Sets the configuration parameters used for network requests sent by this task to requestConfiguration.
See also requestConfiguration().
[deprecated]
Esri::ArcGISRuntime::TaskWatcher ServiceAreaTask::solveServiceArea (const Esri::ArcGISRuntime::ServiceAreaParameters &serviceAreaParameters )
This function is deprecated. We strongly advise against using it in new code.
Solves a service area with the given serviceAreaParameters.
The ServiceAreaTask::solveServiceAreaCompleted signal emits when the operation is complete, giving access to the ServiceAreaResult.
[signal, deprecated]
void ServiceAreaTask::solveServiceAreaCompleted (const QUuid &taskId , const Esri::ArcGISRuntime::ServiceAreaResult &serviceAreaResult )
This function is deprecated. We strongly advise against using it in new code.
Signal emitted after the solveServiceArea asynchronous method completes.
- taskId - The task ID of the asynchronous task.
- serviceAreaResult - The generated ServiceAreaResult.