The result of an attempt to evaluate a popup expression. More...
| Header | #include <Popup |
| Since | Esri |
| Inherits | Esri |
Public Functions
| virtual | ~ |
| Esri | error() const |
| Esri | popup |
| QVariant | result() const |
Detailed Description
The popup expression can come from the PopupDefinition::expressions or from the ExpressionPopupElement::popupExpression.
Member Function Documentation
[override virtual noexcept] PopupExpressionEvaluation::~PopupExpressionEvaluation ()
Destructor.
Esri::ArcGISRuntime::Error PopupExpressionEvaluation::error() const
Returns error information about the evaluation of PopupExpressionEvaluation::popupExpression().
Esri::ArcGISRuntime::PopupExpression *PopupExpressionEvaluation::popupExpression () const
Returns one of the Arcade expressions defined in the Popup at PopupDefinition::expressions or ExpressionPopupElement::popupExpression.
QVariant PopupExpressionEvaluation::result() const
Returns the result of an evaluation of popupExpression.
The type of result object is a String, a Number, or a Dictionary based on the PopupExpression::returnType.
Dictionary return type is only supported for popup expressions coming from a ExpressionPopupElement. In this case, the dictionary must follow the Web Map Specification for a popupElement. Refer to Popup Element for more details.