Obsolete Members for ClosestFacilityTask

  • ClosestFacilityTask
  • The following members of class ClosestFacilityTask are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (deprecated) Esri::ArcGISRuntime::TaskWatcher createDefaultParameters()
    (deprecated) Esri::ArcGISRuntime::TaskWatcher solveClosestFacility(const Esri::ArcGISRuntime::ClosestFacilityParameters &closestFacilityParameters)
    (deprecated) QFuture<Esri::ArcGISRuntime::ClosestFacilityResult> solveClosestFacilityAsync(const Esri::ArcGISRuntime::ClosestFacilityParameters &closestFacilityParameters)

    Signals

    (deprecated) void createDefaultParametersCompleted(const QUuid &taskId, Esri::ArcGISRuntime::ClosestFacilityParameters defaultParameters)
    (deprecated) void solveClosestFacilityCompleted(const QUuid &taskId, Esri::ArcGISRuntime::ClosestFacilityResult closestFacilityResult)

    Member Function Documentation

    Esri::ArcGISRuntime::TaskWatcher ClosestFacilityTask::createDefaultParameters()

    This function is deprecated. We strongly advise against using it in new code.

    Creates default closest facility parameters from the service.

    The createDefaultParametersCompleted signal will emit once the operation is complete, giving access to the resulting ClosestFacilityParameters.

    [signal] void ClosestFacilityTask::createDefaultParametersCompleted(const QUuid &taskId, Esri::ArcGISRuntime::ClosestFacilityParameters defaultParameters)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted after the createDefaultParameters asynchronous method completes.

    Esri::ArcGISRuntime::TaskWatcher ClosestFacilityTask::solveClosestFacility(const Esri::ArcGISRuntime::ClosestFacilityParameters &closestFacilityParameters)

    This function is deprecated. We strongly advise against using it in new code.

    Solves a closest facility with the given closestFacilityParameters.

    The solveClosestFacilityCompleted signal will emit once the operation is complete, giving access to the ClosestFacilityResult.

    [since Esri::ArcGISRuntime 200.2] QFuture<Esri::ArcGISRuntime::ClosestFacilityResult> ClosestFacilityTask::solveClosestFacilityAsync(const Esri::ArcGISRuntime::ClosestFacilityParameters &closestFacilityParameters)

    This function is deprecated. We strongly advise against using it in new code.

    Solves a closest facility with the given closestFacilityParameters.

    • closestFacilityParameters - The closest facility parameters.

    Executes the ClosestFacilityParameters defined for this ClosestFacilityTask and returns a ClosestFacilityResult containing the results.

    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::solveClosestFacilityCompleted(const QUuid &taskId, Esri::ArcGISRuntime::ClosestFacilityResult closestFacilityResult)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted after the solveClosestFacility asynchronous method completes.

    • taskId - The task ID of the asynchronous task.
    • closestFacilityResult - The generated ClosestFacilityResult.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.