OfflineCapability class final

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

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 OfflineMapTask.getOfflineMapCapabilities, and examining the resulting OfflineMapCapabilities.layerCapabilities and OfflineMapCapabilities.tableCapabilities dictionaries.

If a layer or table can be taken offline then its OfflineCapability.supportsOffline value is true.

Implemented types

Properties

error ArcGISException?
An error if the layer or table could not be included in the offline map, otherwise null.
no setter
hashCode int
The hash code for this object.
no setterinherited
remainsOnline bool
True if this online only layer or table will be referenced from an offline map, false otherwise.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsOffline bool
True if this layer or table supports being taken offline, false otherwise.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited