The following members of class Popup 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 | evaluateExpressions() |
Signals
(deprecated) void | evaluateExpressionsCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::PopupExpressionEvaluation *> &popupExpressionEvaluationResults) |
Member Function Documentation
[since Esri::ArcGISRuntime 100.8]
Esri::ArcGISRuntime::TaskWatcher Popup::evaluateExpressions ()
This function is deprecated. We strongly advise against using it in new code.
Asynchronously evaluates all expressions, including Arcade FeatureSet functions, available at PopupDefinition::expressions().
This method must be called before displaying the popup information in a UI so you can use synchronous methods Popup::formattedValue() and PopupManager::substitute() to get the formatted string representation. If there are no PopupDefinition::expressions() then the result list will be empty.
The PopupExpression may be used in the PopupDefinition::fields(), PopupDefinition::media(), PopupDefinition::title() and PopupDefinition::description().
This function was introduced in Esri::ArcGISRuntime 100.8.
[signal]
void Popup::evaluateExpressionsCompleted (const QUuid &taskId , const QList<Esri::ArcGISRuntime::PopupExpressionEvaluation *> &popupExpressionEvaluationResults )
This function is deprecated. We strongly advise against using it in new code.
Signal emitted after the popup expression evaluation asynchronous method completes.
- taskId - The task ID of the asynchronous task.
- popupExpressionEvaluationResults - The generated list of popupExpressionEvaluation results.
The returned PopupExpressionEvaluation objects have the Popup as its parent.
See also Returned QObjects Parenting.