Class PopupMediaValue

java.lang.Object
com.esri.arcgisruntime.mapping.popup.PopupMediaValue

public final class PopupMediaValue extends Object
Represents the media info values correlating to the type of media.
Since:
100.0.0
  • Constructor Details Link icon

    • PopupMediaValue Link icon

      public PopupMediaValue()
      Constructs an empty PopupMediaValue.
      Since:
      100.0.0
  • Method Details Link icon

    • getSourceUrl Link icon

      public String getSourceUrl()
      Gets the source URL for an image media.

      For PopupMediaValue objects used with a chart, this will be empty.

      Returns:
      the source URL for an image media
      Since:
      100.0.0
    • setSourceUrl Link icon

      public void setSourceUrl(String sourceUrl)
      Sets the source URL for an image media.
      Parameters:
      sourceUrl - the source URL for an image media
      Since:
      100.0.0
    • getLinkUrl Link icon

      public String getLinkUrl()
      Gets the link URL for an image media.

      For PopupMediaValue objects used with a chart, this will be empty.

      Returns:
      the link URL for an image media
      Since:
      100.0.0
    • setLinkUrl Link icon

      public void setLinkUrl(String linkUrl)
      Sets the link URL for an image media.
      Parameters:
      linkUrl - the link URL for an image media
      Since:
      100.0.0
    • getNormalizeFieldName Link icon

      public String getNormalizeFieldName()
      Gets the optional field name used to normalize the chart.
      Returns:
      the optional field name used to normalize the chart
      Since:
      100.0.0
    • setNormalizeFieldName Link icon

      public void setNormalizeFieldName(String normalizeFieldName)
      Sets the optional field name used to normalize the chart.
      Parameters:
      normalizeFieldName - the optional field name used to normalize the chart
      Since:
      100.0.0
    • getTooltipFieldName Link icon

      public String getTooltipFieldName()
      Gets the tooltip field name.
      Returns:
      the tooltip field name
      Since:
      100.0.0
    • setTooltipFieldName Link icon

      public void setTooltipFieldName(String tooltipFieldName)
      Sets the tooltip field name.
      Parameters:
      tooltipFieldName - the tooltip field name
      Since:
      100.0.0
    • getData Link icon

      public List<Object> getData()
      Gets the attribute values for the pop-up media's fields defined in getFieldNames(). This property is populated when Popup.evaluateExpressionsAsync() is called.

      For PopupMediaValue objects used with an image or if PopupElement.isEvaluated() is false, this will be an empty collection. The data will be normalized if getNormalizeFieldName() is not empty.

      Returns:
      the attribute values for the pop-up media's fields defined in PopupMediaValue.getFieldNames()
      Since:
      200.1.0
    • getFieldNames Link icon

      public List<String> getFieldNames()
      Gets the field names of the fields to display in the chart.
      Returns:
      the field names of the fields to display in the chart
      Since:
      100.0.0
    • getLabels Link icon

      public List<String> getLabels()
      Gets the user-friendly display names for the pop-up media's fields defined in getFieldNames(). This property is populated when Popup.evaluateExpressionsAsync() is called.

      For PopupMediaValue objects used with an image or if PopupElement.isEvaluated() is false, this will be an empty collection.

      Returns:
      the user-friendly display names for the pop-up media's fields defined in PopupMediaValue.getFieldNames()
      Since:
      200.1.0