Class OfflineMapItemInfo

java.lang.Object
com.esri.arcgisruntime.tasks.offlinemap.OfflineMapItemInfo

public final class OfflineMapItemInfo extends Object
Contains metadata for an offline map item.
Since:
100.1.0
  • Constructor Details

    • OfflineMapItemInfo

      public OfflineMapItemInfo()
      Constructs a new OfflineMapItemInfo instance.
      Since:
      100.1.0
  • Method Details

    • getAccessInformation

      public String getAccessInformation()
      Gets information on the source of the map and its copyright status.
      Returns:
      text describing the source of the map and its copyright status
      Since:
      100.1.0
    • setAccessInformation

      public void setAccessInformation(String accessInformation)
      Sets information on the source of the map and its copyright status.
      Parameters:
      accessInformation - text describing the source of the map and its copyright status
      Since:
      100.1.0
    • getDescription

      public String getDescription()
      Gets the description of the map.
      Returns:
      the description of the map
      Since:
      100.1.0
    • setDescription

      public void setDescription(String description)
      Sets the description of the map.
      Parameters:
      description - the description of the map
      Since:
      100.1.0
    • getSnippet

      public String getSnippet()
      Gets the summary description snippet of the map.
      Returns:
      the summary description snippet of the map
      Since:
      100.1.0
    • setSnippet

      public void setSnippet(String snippet)
      Sets the summary description snippet of the map.
      Parameters:
      snippet - the summary description snippet of the map
      Since:
      100.1.0
    • getTags

      public List<String> getTags()
      Gets the list of tags associated with the map. The returned List object is modifiable and changes made to it will affect the tags used by this OfflineMapItemInfo.
      Returns:
      the list of tags associated with the map
      Since:
      100.1.0
    • getTermsOfUse

      public String getTermsOfUse()
      Gets the terms of use for the item. This may include HTML markup.
      Returns:
      the terms of use
      Since:
      100.4.0
    • setTermsOfUse

      public void setTermsOfUse(String termsOfUse)
      Sets the terms of use for the item. This may include HTML markup.
      Parameters:
      termsOfUse - the terms of use
      Since:
      100.4.0
    • getThumbnailData

      public byte[] getThumbnailData()
      Gets the thumbnail data for the map, if this has been set using the setThumbnailData method.
      Returns:
      the thumbnail data for the map, or null if this has not been set using setThumbnailData(byte[])
      Since:
      100.1.0
    • setThumbnailData

      public void setThumbnailData(byte[] thumbnailData)
      Sets the thumbnail data for the map.
      Parameters:
      thumbnailData - a byte array representing the thumbnail. The recommended image size is 200 pixels wide by 133 pixels high. Acceptable image formats are PNG, GIF, and JPEG. The maximum file size for an image is 1 MB.
      Throws:
      IllegalArgumentException - if thumbnailData is null or empty
      ArcGISRuntimeException - if thumbnailData is invalid
      Since:
      100.1.0
    • getTitle

      public String getTitle()
      Gets the title of the map.
      Returns:
      the title of the map
      Since:
      100.1.0
    • setTitle

      public void setTitle(String title)
      Sets the title of the map.
      Parameters:
      title - the title of the map
      Since:
      100.1.0