Class PopupExpressionEvaluation
- java.lang.Object
-
- com.esri.arcgisruntime.mapping.popup.PopupExpressionEvaluation
-
public final class PopupExpressionEvaluation extends Object
The result of an attempt to evaluate a popup expression.The popup expression can come from the
PopupDefinition.getExpressions()
or from theExpressionPopupElement.getPopupExpression()
.- Since:
- 100.8.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArcGISRuntimeException
getError()
Gets the error information about the evaluation of the popup expression.PopupExpression
getPopupExpression()
One of the Arcade expressions defined on popup atPopupDefinition.getExpressions()
or atExpressionPopupElement.getPopupExpression()
.Object
getResult()
Gets the result of an evaluation ofgetPopupExpression()
.
-
-
-
Method Detail
-
getPopupExpression
public PopupExpression 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
public Object 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
public ArcGISRuntimeException 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
-
-