Class PopupExpressionEvaluation

    • Method Detail

      • getResult

        public Object getResult()
        Gets the result of an evaluation of getPopupExpression(). The type of result object is a String, a Number, or a Dictionary based on the PopupExpression.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 the PopupExpression.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