ArcGIS Runtime SDK for iOS: AGSOfflineMapSyncResult Class Reference
ArcGIS Runtime SDK for iOS  100.12
AGSOfflineMapSyncResult Class Reference

Description

Result of a sync operation by an AGSOfflineMapSyncJob object.

Instances of this class represent results of a sync operation initiated by AGSOfflineMapSyncJob

Since
100.1
Inheritance diagram for AGSOfflineMapSyncResult:
AGSObject

Properties

BOOL hasErrors
 
NSDictionary< AGSLayer *, AGSOfflineMapSyncLayerResult * > * layerResults
 
BOOL mobileMapPackageReopenRequired
 
NSDictionary< AGSFeatureTable *, AGSOfflineMapSyncLayerResult * > * tableResults
 

Property Documentation

◆ hasErrors

- (BOOL) hasErrors
readnonatomicassign

Indicates if any sync operations for feature layers and tables in the offline map encountered an error. If YES, you should inspect the layerResults and tableResults properties to find out which layer or table encountered an error and to get more information about the error.

Since
100.1

◆ layerResults

- (NSDictionary<AGSLayer *, AGSOfflineMapSyncLayerResult *>*) layerResults
readnonatomiccopy

Results of the sync operations for feature layers.

Since
100.1

◆ mobileMapPackageReopenRequired

- (BOOL) mobileMapPackageReopenRequired
readnonatomicassign

Indicates whether the mobile map package must be closed and reopened with a new instance to allow the updates to take effect. In some cases, applying updates may require files such as mobile geodatabases to be replaced with a new version. When reopen is required, this property will be true and you need to:

  • Release all instances of the AGSMobileMapPackage and its maps and layers. For example, you should remove any AGSMap instances from the AGSMapView object and remove layers and geodatabases from custom views such as lists and tables of contents. This will allow files to be closed.
  • Call close (AGSMobileMapPackage) to close the mobile map package instance and files.
  • Create a new AGSMobileMapPackage instance with the same path.
  • Load the new AGSMobileMapPackage. This will apply updates to geodatabases that have been replaced via a scheduled updates workflow.
    Since
    100.6

◆ tableResults

- (NSDictionary<AGSFeatureTable *, AGSOfflineMapSyncLayerResult *>*) tableResults
readnonatomiccopy

Results of the sync operations for feature tables.

Since
100.1