ArcGIS Runtime SDK for iOS: AGSOfflineCapability Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSOfflineCapability Class Reference

Description

Describes whether a layer or table can be included in an offline map.

Instances of this class represent offline capabilities of a map's layer or table.

Since
100.1
Inheritance diagram for AGSOfflineCapability:
AGSObject

Properties

NSError * error
 
BOOL remainsOnline
 
BOOL supportsOffline
 

Property Documentation

◆ error

- (NSError*) error
readnonatomicstrong

An error if the layer or table could not be included in the offline map, otherwise nil.

Since
100.1

◆ remainsOnline

- (BOOL) remainsOnline
readnonatomicassign

Indicates whether this online only layer or table will be referenced from an offline map.

This relates to the AGSGenerateOfflineMapParameters::onlineOnlyServicesOption property. If AGSGenerateOfflineMapParameters::onlineOnlyServicesOption is set to AGSOnlineOnlyServicesOptionExclude, this property will always be NO. If AGSGenerateOfflineMapParameters::onlineOnlyServicesOption is set to AGSOnlineOnlyServicesOptionInclude, this property may be true for layers that cannot be taken offline.

Since
100.9

◆ supportsOffline

- (BOOL) supportsOffline
readnonatomicassign

Indicates whether the layer or table can be taken offline.

Note that if this property is NO and the AGSGenerateOfflineMapParameters::onlineOnlyServicesOption is set to AGSOnlineOnlyServicesOptionInclude, the AGSOfflineCapability::remainsOnline property may indicate that the layer or table will remain online and be referenced by the offline map.

Since
100.1