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 Link icon

    • OfflineMapItemInfo Link icon

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

    • getAccessInformation Link icon

      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 Link icon

      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 Link icon

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

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

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

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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

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