PopupExpressionEvaluation Class

  • PopupExpressionEvaluation
  • class Esri::ArcGISRuntime::PopupExpressionEvaluation

    The result from evaluating a Popup Arcade expression. More...

    Header: #include <PopupExpressionEvaluation.h>
    Since: Esri::ArcGISRuntime 100.8
    Inherits: Esri::ArcGISRuntime::Object

    This class was introduced in Esri::ArcGISRuntime 100.8.

    Public Functions

    virtual ~PopupExpressionEvaluation() override
    Esri::ArcGISRuntime::Error error() const
    Esri::ArcGISRuntime::PopupExpression *popupExpression() const
    QVariant result() const

    Detailed Description

    Member Function Documentation

    [override virtual] PopupExpressionEvaluation::~PopupExpressionEvaluation()

    Destructor.

    Esri::ArcGISRuntime::Error PopupExpressionEvaluation::error() const

    Returns an error for 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.

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