PopupExpressionEvaluation Class

  • PopupExpressionEvaluation
  • class Esri::ArcGISRuntime::PopupExpressionEvaluation

    The result of an attempt to evaluate a popup expression. More...

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

    Public Functions

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

    Detailed Description

    The popup expression can come from the PopupDefinition::expressions or from the ExpressionPopupElement::popupExpression.

    Member Function Documentation

    [override virtual] PopupExpressionEvaluation::~PopupExpressionEvaluation()


    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.

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