Enum Class DrawStatus

java.lang.Object
java.lang.Enum<DrawStatus>
com.esri.arcgisruntime.mapping.view.DrawStatus
All Implemented Interfaces:
Serializable, Comparable<DrawStatus>, Constable

public enum DrawStatus extends Enum<DrawStatus>
The status of drawing in the GeoView.

Use this status to determine whether the content of a view is still drawing or drawing is completed. The drawing state of a GeoView can either be IN_PROGRESS or COMPLETED. For example, when using GeoView.exportImageAsync() to take a screen capture of the view's visible area, you can use the draw status to determine whether the GeoView content has been rendered. If you need to ensure that an individual layer has loaded and is visible, examine the LayerViewState returned by the GeoView.getViewStateForLayer(Layer) method.

Since:
100.0.0
  • Enum Constant Details

    • IN_PROGRESS

      public static final DrawStatus IN_PROGRESS
      Drawing of the GeoView content is in progress.
    • COMPLETED

      public static final DrawStatus COMPLETED
      Drawing of the GeoView content is complete.
  • Method Details

    • values

      public static DrawStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DrawStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null