The following members of class PopupManager 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 PopupManager::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 PopupManager::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 when evaluateExpressions completes.
- taskId - The task ID of the asynchronous task.
- popupExpressionEvaluationResults - The generated list of PopupExpressionEvaluation.
The returned PopupExpressionEvaluation objects have the PopupManager as its parent.
See also Returned QObjects Parenting.