Package com.esri.arcgisruntime
Enum ServiceCurveGeometryMode
- java.lang.Object
-
- java.lang.Enum<ServiceCurveGeometryMode>
-
- com.esri.arcgisruntime.ServiceCurveGeometryMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ServiceCurveGeometryMode>
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. Additionally, by default, Runtime indicates that is it not a true curve capable 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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DENSIFY_CURVES
Densified versions of geometries with curves are fetched.FETCH_CURVES
Deprecated.As of 100.14.0.TRUE_CURVE_CLIENT
Curve geometries are fetched, and ArcGIS Runtime acts as a true curve client when editing.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceCurveGeometryMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServiceCurveGeometryMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DENSIFY_CURVES
public static final ServiceCurveGeometryMode DENSIFY_CURVES
Densified versions of geometries with curves are fetched. This is the default.- Since:
- 100.12.0
-
FETCH_CURVES
@Deprecated public static final ServiceCurveGeometryMode FETCH_CURVES
Deprecated.As of 100.14.0. This value is not applicable for future offline curves workflows and will be removed in a future release.Curve geometries are fetched, but ArcGIS Runtime does not act as a true curve client when editing.- Since:
- 100.12.0
-
TRUE_CURVE_CLIENT
public static final ServiceCurveGeometryMode TRUE_CURVE_CLIENT
Curve geometries are fetched, and ArcGIS Runtime acts as a true curve client when editing.- Since:
- 100.12.0
-
-
Method Detail
-
values
public static ServiceCurveGeometryMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServiceCurveGeometryMode c : ServiceCurveGeometryMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceCurveGeometryMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-