Module com.esri.arcgisruntime
Class PopupExpressionEvaluation
java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupExpressionEvaluation
The result of an attempt to evaluate a popup expression.
The popup expression can come from the PopupDefinition.getExpressions() or from the
ExpressionPopupElement.getPopupExpression().
- Since:
- 100.8.0
-
Method Summary
Modifier and TypeMethodDescriptiongetError()Gets the error information about the evaluation of the popup expression.One of the Arcade expressions defined on popup atPopupDefinition.getExpressions()or atExpressionPopupElement.getPopupExpression().Gets the result of an evaluation ofgetPopupExpression().
-
Method Details
-
getPopupExpression
One of the Arcade expressions defined on popup atPopupDefinition.getExpressions()or atExpressionPopupElement.getPopupExpression().- Returns:
- one of the Arcade expressions defined on popup at
PopupDefinition.getExpressions()or atExpressionPopupElement.getPopupExpression() - Since:
- 100.8.0
-
getResult
Gets the result of an evaluation ofgetPopupExpression(). The type of result object is a String, a Number, or a Dictionary based on thePopupExpression.getReturnType().Dictionary return type is only supported for popup expressions coming from an
ExpressionPopupElement. In this case, the dictionary must follow the Web Map Specification for a popupElement. Refer to Popup Element for more details.- Returns:
- the result of an evaluation of
PopupExpressionEvaluation.getPopupExpression(). The type of result object is a String, a Number, or a Dictionary based on thePopupExpression.getReturnType(). - Since:
- 100.8.0
-
getError
Gets the error information about the evaluation of the popup expression.- Returns:
- an ArcGISRuntimeException, or null if the expression was evaluated successfully
- Since:
- 100.8.0
-