Show / Hide Table of Contents

Class OfflineCapability

Describes whether an offline-enabled web map's layer or table can be included in an offline map.

Inheritance
System.Object
OfflineCapability
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 null.

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

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.