A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-closestfacilitytask.html below:

ClosestFacilityTask Class | ArcGIS Maps SDK for Qt

Member Function Documentation [explicit, since Esri::ArcGISRuntime 100.2] ClosestFacilityTask::ClosestFacilityTask(Esri::ArcGISRuntime::TransportationNetworkDataset *transportationNetworkDataset, QObject *parent = nullptr)

Creates a closest facility task with transportation network dataset.

This function was introduced in Esri::ArcGISRuntime 100.2.

[explicit] ClosestFacilityTask::ClosestFacilityTask(const QUrl &url, QObject *parent = nullptr)

Creates a closest facility task with a URL.

[since Esri::ArcGISRuntime 100.2] ClosestFacilityTask::ClosestFacilityTask(const QString &databasePath, const QString &networkName, QObject *parent = nullptr)

Creates a closest facility task with path to geodatabase.

This function was introduced in Esri::ArcGISRuntime 100.2.

[override virtual noexcept] ClosestFacilityTask::~ClosestFacilityTask()

Destructor.

[override virtual, since Esri::ArcGISRuntime 100.10] QString ClosestFacilityTask::apiKey() const

Reimplements: ApiKeyResource::apiKey() const.

Returns the API key allows your app to access ArcGIS location services and private portal items.

An API key is a unique long-lived access token that is used to authenticate and monitor requests to ArcGIS location services and private portal items. You can create and manage an API key using your portal when you sign in with an ArcGIS Location Platform account or an ArcGIS Online account with administrator access or a custom role that has the `Generate API keys` privilege. To learn how to create and manage API keys, go to the Create an API Key tutorial. You must ensure that your API key has the correct privileges to access secure resources.

Note: An API key created with a referrer is not supported. If you need service requests to include the referrer, use the SDK's functionality to intercept the request and add an HTTP referer header.

In addition to setting an ArcGISRuntimeEnvironment::apiKey at a global level for your application, you can set it on any class that implements ApiKeyResource. This overrides the ArcGISRuntimeEnvironment::apiKey and enables more granular usage telemetry and management of ArcGIS location resources used by your app.

Classes that expose an API key property by implementing ApiKeyResource include:

For more information, see API key authentication and Types of authentication.

This function was introduced in Esri::ArcGISRuntime 100.10.

See also setApiKey().

[override virtual] void ClosestFacilityTask::cancelLoad()

Reimplements: Loadable::cancelLoad().

See Loadable.

Esri::ArcGISRuntime::ClosestFacilityTaskInfo ClosestFacilityTask::closestFacilityTaskInfo() const

Returns closest facility task info.

Information about this closest facility task. For a closest facility task using an online service, this will involve a network call.

[since Esri::ArcGISRuntime 200.2] QFuture<Esri::ArcGISRuntime::ClosestFacilityParameters> ClosestFacilityTask::createDefaultParametersAsync()

Returns the default parameters.

Retrieves the default parameters as defined by the service.

This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.

See Working with QFuture for further details.

This function was introduced in Esri::ArcGISRuntime 200.2.

[signal] void ClosestFacilityTask::doneLoading(const Esri::ArcGISRuntime::Error &loadError)

Signal emitted when this object is done loading.

Note: If there is a load error it will also be emitted on the errorOccurred signal.

See also Loadable and Object.

[override virtual] void ClosestFacilityTask::load()

Reimplements: Loadable::load().

See Loadable.

[override virtual] Esri::ArcGISRuntime::Error ClosestFacilityTask::loadError() const

Reimplements: Loadable::loadError() const.

See Loadable.

[override virtual] Esri::ArcGISRuntime::LoadStatus ClosestFacilityTask::loadStatus() const

Reimplements: Loadable::loadStatus() const.

See Loadable.

[signal] void ClosestFacilityTask::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)

Signal emitted when the load status changes for this object.

See also Loadable.

[override virtual] void ClosestFacilityTask::retryLoad()

Reimplements: Loadable::retryLoad().

See Loadable.

[override virtual, since Esri::ArcGISRuntime 100.10] void ClosestFacilityTask::setApiKey(const QString &apiKey)

Reimplements: ApiKeyResource::setApiKey(const QString &apiKey).

Sets the API key to apiKey.

This function was introduced in Esri::ArcGISRuntime 100.10.

See also apiKey().

[since Esri::ArcGISRuntime 100.2] Esri::ArcGISRuntime::TransportationNetworkDataset *ClosestFacilityTask::transportationNetworkDataset() const

Returns transportation network dataset.

This function was introduced in Esri::ArcGISRuntime 100.2.

See also transportationNetworkDataset.

[override virtual] QUrl ClosestFacilityTask::url() const

Reimplements: RemoteResource::url() const.

Returns the URL to the online service.

Only applicable to online closest facility.


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