Class FeatureServiceCapabilities

java.lang.Object
com.esri.arcgisruntime.arcgisservices.FeatureServiceCapabilities

public final class FeatureServiceCapabilities extends Object
The capabilities of an ArcGIS feature service.

ArcGIS feature service capabilities, such as Query, Create, Update, and Sync, are stated within the "Capabilities" tag of its ArcGIS REST Services Directory. Each of its capabilities are reflected in isSupportsCreate(), isSupportsDelete(), isSupportsEditing(), and so on.

You can obtain an ArcGIS feature service's FeatureServiceCapabilities from its metadata using the ArcGISFeatureLayerInfo. This is available from two sources:

Since:
100.0.0
See Also:
  • Method Details

    • isSupportsCreate

      public boolean isSupportsCreate()
      Indicates whether the service allows new features to be created.
      Returns:
      true if the feature service supports creating features, otherwise false
      Since:
      100.0.0
    • isSupportsDelete

      public boolean isSupportsDelete()
      Indicates whether the service allows features to be deleted.
      Returns:
      true if the feature service supports deleting features, otherwise false
      Since:
      100.0.0
    • isSupportsQuery

      public boolean isSupportsQuery()
      Indicates whether the service allows features to be queried.
      Returns:
      true if the feature service supports querying features, otherwise false
      Since:
      100.0.0
    • isSupportsUpdate

      public boolean isSupportsUpdate()
      Indicates whether the service allows a features to be updated.
      Returns:
      true if the feature service supports updating features, otherwise false
      Since:
      100.0.0
    • isSupportsSync

      public boolean isSupportsSync()
      Indicates whether the service allows a features to be synced.
      Returns:
      true if the feature service supports syncing features, otherwise false
      Since:
      100.0.0
    • isSupportsEditing

      public boolean isSupportsEditing()
      Indicates whether the service allows features to be edited.
      Returns:
      true if the feature service supports editing features, otherwise false
      Since:
      100.0.0