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.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |