Show / Hide Table of Contents

Class OfflineSettings

Represents settings in an online web map which the author has configured for offline use.

Inheritance
Object
OfflineSettings
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OfflineSettings
Remarks

Offline settings can be configured by a web map author to provide default values which are appropriate for taking a map offline. Applications which take the map offline can choose to ignore these offline settings when setting parameters for an OfflineMapTask.

Note: the following methods will use the offline settings to set default parameter values:

  • CreateDefaultDownloadPreplannedOfflineMapParametersAsync(PreplannedMapArea)
  • CreateDefaultGenerateOfflineMapParametersAsync(Geometry)
  • CreateDefaultGenerateOfflineMapParametersAsync(Geometry, Double, Double)
  • CreateGenerateOfflineMapParameterOverridesAsync(GenerateOfflineMapParameters)

Properties

Name Description
AttachmentSyncDirection

Gets a setting configured by the web map author that provides guidance for how attachments should be synced when working offline.

OnlineLayers

Gets a list of layers that the web map author has determined will remain online when the map is taken offline.

OnlineTables

Gets a list of non-spatial tables that the web map author has determined will remain online when the map is taken offline.

ReferenceBasemapFilename

Gets the name of a local basemap file which can be used instead of downloading a basemap when taking this map offline.

ReturnLayerAttachmentOption

Gets a setting configured by the web map author that indicates which feature layers should include attachments when taken offline.

ReturnSchemaOnlyForEditableLayers

Gets a value indicating whether the web map author indicates whether or not feature layers taken offline should be schema only and contain no data.

Applies to

TargetVersions
.NET Standard 2.0100.5 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.5 - 200.1
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.5 - 100.15
iOS100.5 - 100.15
UWP100.5 - 200.1
In This Article
Back to top Copyright © 2022 Esri.