Enum Class ServiceCurveGeometryMode

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

public enum ServiceCurveGeometryMode extends Enum<ServiceCurveGeometryMode>
How curve geometries are fetched from and sent to services that support curves.

By default, curve geometries are not fetched from services that support curves, meaning that densified versions of any curve geometries are fetched from the service. By default, this API is not a true curve enabled client when sending updates to services that support curves. Use ArcGISRuntimeEnvironment.setServiceCurveGeometryMode(ServiceCurveGeometryMode) to change this default behavior.

For details of curve support in services, see ArcGIS REST API documentation.

Since:
100.12.0
See Also:
  • Enum Constant Details

    • DENSIFY_CURVES

      public static final ServiceCurveGeometryMode DENSIFY_CURVES
      Densified versions of geometries with curves are fetched. This is the default.
      Since:
      100.12.0
    • TRUE_CURVE_CLIENT

      public static final ServiceCurveGeometryMode TRUE_CURVE_CLIENT
      Curve geometries are fetched, and this API acts as a true curve client when editing.
      Since:
      100.12.0
  • Method Details

    • values

      public static ServiceCurveGeometryMode[] 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 ServiceCurveGeometryMode 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