Class OfflineCapability
Describes whether an offline-enabled web map's layer or table can be included in an offline map.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OfflineCapability
Remarks
You can confirm which layers or tables, in an offline-enabled web map, can be taken offline by creating an OfflineMapTask from the web map, calling GetOfflineMapCapabilitiesAsync(GenerateOfflineMapParameters), and examining the resulting LayerCapabilities and TableCapabilities dictionaries.
If a layer or table can be taken offline then its SupportsOffline value is true
.
Properties
Name | Description |
---|---|
Error | Gets the associated error if the layer or table could not be included in the offline map, otherwise
|
RemainsOnline | Gets a value indicating whether this online-only layer or table supports being referenced from an offline map. |
SupportsOffline | Gets a value indicating whether this layer or table supports being taken offline. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |