Class MapServiceCapabilities

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

public final class MapServiceCapabilities extends Object
The capabilities of an ArcGIS map service, including whether it supports exporting map images, data and query operations.

You can access the content of a map from an ArcGIS map service using one of its three main capabilities:

  • Data - find, query, and related records.
  • Map - export map images and list all layers and tables.
  • Query - identify and access attachment data.

These capabilities are reflected in isDataSupported(), isMapSupported(), and isQuerySupported(). For more information, see the Map Service help documentation.

You can obtain an ArcGIS map service's MapServiceCapabilities using ArcGISMapServiceInfo. This is available from a number of loaded resources, such as ArcGISMapImageLayer, ArcGISTiledLayer, or ExportTileCacheTask.

Since:
100.0.0
  • Method Details

    • isDataSupported

      public boolean isDataSupported()
      Gets whether the map service supports data operations, such as find, query, and related records.

      All ArcGIS REST API operations define their required capability in the Map Service help documentation.

      Returns:
      true if the data capability is supported, false otherwise
      Since:
      100.0.0
    • isMapSupported

      public boolean isMapSupported()
      Gets whether the map service supports map operations, such as exporting map images and listing all layers and tables.

      All ArcGIS REST API operations define their required capability in the Map Service help documentation.

      Returns:
      true if the map capability is supported, false otherwise
      Since:
      100.0.0
    • isQuerySupported

      public boolean isQuerySupported()
      Gets whether the map service supports query operations, such as identify and access attachment data.

      All ArcGIS REST API operations define their required capability in the Map Service help documentation.

      Returns:
      true if the query capability is supported, false otherwise
      Since:
      100.0.0
    • isTilemapSupported

      public boolean isTilemapSupported()
      Gets whether the map service supports tiles.
      Returns:
      true if the tilemap capability is supported, false otherwise
      Since:
      200.4.0
    • isTilesOnlySupported

      public boolean isTilesOnlySupported()
      Gets whether the map service only supports tile requests.
      Returns:
      true if only the tile request capability is supported, false otherwise
      Since:
      200.4.0