Package com.arcgismaps.tasks.offlinemaptask

Types

Link copied to clipboard
sealed class DestinationTableRowFilter

Indicates whether tables will contain all rows or can be filtered to a smaller set of related rows. Used by the property GenerateOfflineMapParameters.getDestinationTableRowFilter().

Link copied to clipboard

A job to download an offline map area from an online map as part of the preplanned offline workflow. Use this job to download the map content of a map area to your device so that you can work offline without a network connection. Upon completion, the job's DownloadPreplannedOfflineMapResult provides the offline map along with the details of any errors incurred during the download process.

Link copied to clipboard
class DownloadPreplannedOfflineMapParameters

Parameters used for creating a DownloadPreplannedOfflineMapJob.

Link copied to clipboard
class DownloadPreplannedOfflineMapResult

The result of a DownloadPreplannedOfflineMapJob When the job completes it returns the offline map and indicates whether any errors were incurred during the download process (DownloadPreplannedOfflineMapResult.getHasErrors()). Examine the individual layer and table errors to identify the source of the problem. For example, the loss of the online service, a layer or table may not be taken offline or export tiles has not been enabled on the layer.

Link copied to clipboard
class GenerateOfflineMapJob : Job<GenerateOfflineMapResult>

A Job to generate an offline map from an online map.

Link copied to clipboard
class GenerateOfflineMapParameterOverrides

Gives access to the individual parameters objects that will generate the various geodatabase, vector tile and tile cache packages that make up the data of an offline map. This object allows the user more fine-grained control over the generation of an offline map than the options presented in the standard GenerateOfflineMapParameters. For example, the parameter overrides allow the user to adjust specific layers so that they: use a different spatial extent or scale range; use custom attribute or geometry settings; are omitted from the download. An instance of this object can be created from the overall map settings in GenerateOfflineMapParameters by calling OfflineMapTask.createGenerateOfflineMapParameterOverrides(GenerateOfflineMapParameters). This object gives access to the individual parameter objects via three dictionaries containing generate geodatabase parameters, export tile cache parameters and export vector tile parameters. These can be accessed using GenerateOfflineMapParameterOverrides.getGenerateGeodatabaseParameters(), GenerateOfflineMapParameterOverrides.getExportTileCacheParameters() and GenerateOfflineMapParameterOverrides.getExportVectorTilesParameters() respectively. The dictionaries contain the various parameters objects mapped against an OfflineMapParametersKey. An OfflineMapParametersKey represents the service that a particular parameters object is intended for. The OfflineMapParametersKey.OfflineMapParametersKey(Layer), OfflineMapParametersKey.OfflineMapParametersKey(ServiceFeatureTable), or OfflineMapParametersKey.OfflineMapParametersKey(UtilityNetwork) can be used to construct a key given its respective layer, table, or utility network. The returned key can be used to look up a value in a dictionary. The type of dictionary is indicated by the key's OfflineMapParametersKey.getType() property. Note that a given parameters key/value pair may be shared by multiple layers in the map: for example a single GenerateGeodatabaseParameters could represent the online settings for multiple feature layers that all access the same underlying feature service. All entries in the dictionaries should correspond to layers and table instances in the online ArcGISMap. If a dictionary entry is removed the corresponding layers or tables will be removed from the offline map without raising an error.

Link copied to clipboard
class GenerateOfflineMapParameters

Parameters used for creating a GenerateOfflineMapJob.

Link copied to clipboard
class GenerateOfflineMapResult

The result of a GenerateOfflineMapJob.

Link copied to clipboard
sealed class GenerateOfflineMapUpdateMode

Different modes for synchronization of features in a generated offline map.

Link copied to clipboard
class OfflineCapability

Describes whether a layer or table can be included in an offline map.

Link copied to clipboard
class OfflineMapCapabilities

Represents the capability of taking a map's layers and tables offline.

Link copied to clipboard
class OfflineMapItemInfo

Contains properties to override the offline maps item properties.

Link copied to clipboard
class OfflineMapParametersKey

A key comprising of a service URL and type of an online service. The key is used to lookup values in a dictionary exposed by a GenerateOfflineMapParameterOverrides. GenerateOfflineMapParameterOverrides consist of instances of data type specific parameters GenerateGeodatabaseParameters, ExportTileCacheParameters and ExportVectorTilesParameters. Each instance is associated with the service URL that the parameters will be sent to when taking the given data offline. The data type specific parameters can be retrieved from their respective dictionaries on GenerateOfflineMapParameterOverrides with an instance of OfflineMapParametersKey. A key instance for a particular layer can be constructed by calling OfflineMapParametersKey.OfflineMapParametersKey(Layer). For a table, call OfflineMapParametersKey.OfflineMapParametersKey(ServiceFeatureTable). For a utility network, call OfflineMapParametersKey.OfflineMapParametersKey(UtilityNetwork). Use the key with the dictionary returned by one of these properties: GenerateOfflineMapParameterOverrides.getGenerateGeodatabaseParameters(), GenerateOfflineMapParameterOverrides.getExportVectorTilesParameters(), GenerateOfflineMapParameterOverrides.getExportTileCacheParameters(). The particular dictionary property will be determined by the OfflineMapParametersKey.getType() property. Note that a given parameters key/value pair may be shared by multiple layers in the map: for example a single GenerateGeodatabaseParameters could represent the online settings for multiple feature layers and tables which all access the same underlying feature service.

Link copied to clipboard
sealed class OfflineMapParametersType

Indicates the type of parameters object used to take layers offline.

Link copied to clipboard
class OfflineMapSyncJob : Job<OfflineMapSyncResult>

A Job to synchronize an offline map's geodatabases with their originating services. Note that if this job is to be serialized to JSON, its map needs to be loaded first. An attempt to serialize with a not loaded map will throw an ErrorType.MappingNotLoaded exception.

Link copied to clipboard
class OfflineMapSyncLayerResult

The result of an OfflineMapSyncJob for a single layer or table.

Link copied to clipboard
class OfflineMapSyncParameters

Parameters used for creating an OfflineMapSyncJob

Link copied to clipboard
class OfflineMapSyncResult

The result of an OfflineMapSyncJob

Link copied to clipboard
class OfflineMapSyncTask : Loadable

A task with methods related to synchronizing an offline map's geodatabases with their originating services.

Link copied to clipboard
class OfflineMapTask : Loadable

A task used to take a map offline. Taking a map offline involves downloading an online map and its data, including all the supported layers, tables, renderers, web map configuration etc. so that it can be used offline without a network connection. There are two workflows available for taking maps offline:

Link copied to clipboard
class OfflineMapUpdateCapabilities

Describes supported methods for obtaining updates for an offline map.

Link copied to clipboard
class OfflineMapUpdatesInfo

Provides information on the available updates for an offline map. This type provides high level information on what updates are available for an offline map. Update information covers both:

Link copied to clipboard
sealed class OfflineUpdateAvailability

Enumerates whether offline data has updates, has no updates, or that the availability of updates cannot be determined.

Link copied to clipboard
sealed class OnlineOnlyServicesOption

Enumerates the possible options for dealing with online-only services (those which cannot be taken offline).

Link copied to clipboard
class PreplannedMapArea : Loadable

Represents a single preplanned offline map area. Offline map areas are specific work areas or major incident areas that are defined by an online map author ahead of time. Each online map can contain a number of offline map areas. These can be provided in a list by the OfflineMapTask.getPreplannedMapAreas() method. Each preplanned map area uses map content that is stored online. Download this map content by running a DownloadPreplannedOfflineMapJob. Create this job by passing the preplanned map area to the OfflineMapTask.downloadPreplannedOfflineMap(DownloadPreplannedOfflineMapParameters, String) method on the OfflineMapTask.

Link copied to clipboard
sealed class PreplannedPackagingStatus

Enumerates the different packaging states that an online PreplannedMapArea can be in. A PreplannedMapArea is made up of a set of data packages for each of the layers in the map. When a web map author first creates a map area these packages must be prepared by the relevant online services before the area is ready to be downloaded as an offline map.

Link copied to clipboard
sealed class PreplannedScheduledUpdatesOption

Enumerates options for downloading read-only preplanned updates from an online map area.

Link copied to clipboard
sealed class PreplannedUpdateMode

Different modes for how updates are obtained for a preplanned offline map area.

Link copied to clipboard
sealed class ReturnLayerAttachmentOption

Indicate the type of layers we wish to include attachments with when taking feature layers offline.