Offline Map Parameters Key
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 com.arcgismaps.tasks.geodatabase.GenerateGeodatabaseParameters, com.arcgismaps.tasks.tilecache.ExportTileCacheParameters and com.arcgismaps.tasks.exportvectortiles.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. For a table, call OfflineMapParametersKey.OfflineMapParametersKey. For a utility network, call OfflineMapParametersKey.OfflineMapParametersKey. Use the key with the dictionary returned by one of these properties: GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters, GenerateOfflineMapParameterOverrides.exportVectorTilesParameters, GenerateOfflineMapParameterOverrides.exportTileCacheParameters. The particular dictionary property will be determined by the OfflineMapParametersKey.type property. Note that a given parameters key/value pair may be shared by multiple layers in the map: for example a single com.arcgismaps.tasks.geodatabase.GenerateGeodatabaseParameters could represent the online settings for multiple feature layers and tables which all access the same underlying feature service.
Since
200.1.0
Constructors
Create an offline map parameters key for the given layer. Layers that are supported for offline use are:
Create an offline map parameters key for the given table. The returned key can be used to retrieve a data type specific parameter object from the dictionary returned by GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters.
Create an offline map parameters key for the specified com.arcgismaps.utilitynetworks.UtilityNetwork. An com.arcgismaps.utilitynetworks.UtilityNetwork with URI that points to a feature service which returns true for com.arcgismaps.arcgisservices.SyncCapabilities.supportsUtilityNetworkSystem is supported for offline use.
Properties
Service URL of this key. The service URL is the URL associated with a data specific parameter object in one of the dictionaries owned by a GenerateOfflineMapParameterOverrides instance.
The parameter type of this key. The type of this key indicates which GenerateOfflineMapParameterOverrides dictionary this key belongs to: | Parameter Type | Dictionary | |-------------------------------------------------|--------------------------------------------------------------------------| | OfflineMapParametersType.GenerateGeodatabase | GenerateOfflineMapParameterOverrides.generateGeodatabaseParameters | | OfflineMapParametersType.ExportVectorTiles | GenerateOfflineMapParameterOverrides.exportVectorTilesParameters | | OfflineMapParametersType.ExportTileCache | GenerateOfflineMapParameterOverrides.exportTileCacheParameters |