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.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OfflineMapParametersKey
Remarks
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(Layer). For a table, call OfflineMapParametersKey(ServiceFeatureTable). For a utility network, call OfflineMapParametersKey(UtilityNetwork). Use the key with the dictionary returned by one of these properties: GenerateGeodatabaseParameters, ExportVectorTilesParameters, ExportTileCacheParameters. The particular dictionary property will be determined by the Type 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.
Constructors
Name | Description |
---|---|
OfflineMapParametersKey(ServiceFeatureTable) | Initializes a new instance of the OfflineMapParametersKey class for the given table. |
OfflineMapParametersKey(Layer) | Initializes a new instance of the OfflineMapParametersKey class for the given layer. |
OfflineMapParametersKey(UtilityNetwork) | Initializes a new instance of the OfflineMapParametersKey class for the specified UtilityNetwork. |
Properties
Name | Description |
---|---|
ServiceUrl | Gets the service URL of this key. |
Type | Gets the parameter type of this key. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetHashCode() |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.4 - 200.5 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.5 |