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

Description

Result of a sync operation for a map layer or table initiated by AGSOfflineMapSyncJob.

Instances of this class represent results of a sync operation for a particular offline map layer or table initiated by AGSOfflineMapSyncJob. If the entire operation failed, for instance due to network interruption, the error property is popluated. However, if the opeartion completed successfully, but certain edits could not be synchronized, those details are provided in editErrors.

Since
100.1
Inheritance diagram for AGSOfflineMapSyncLayerResult:
AGSObject

Properties

NSArray< AGSFeatureEditResult * > * editErrors
 
NSError * error
 
BOOL hasErrors
 

Property Documentation

◆ editErrors

- (NSArray<AGSFeatureEditResult*>*) editErrors
readnonatomiccopy

Information about the individual edits that could not be synchronized. Only happens on rare occasions when the service cannot reconcile edits in its current state, or if those edits violate some service constraints.

Since
100.1

◆ error

- (NSError*) error
readnonatomicstrong

Returns an error if the entire sync operation failed, for instance, due to a network interruption.

Since
100.1

◆ hasErrors

- (BOOL) hasErrors
readnonatomicassign

Indicates if any errors were encountered while syncronizing an offline map's layer or table. If YES you should inspect error and editErrors properties to find out if the whole sync operation failed due to an error. For example, a network interruption or if only certain edits could not be synchronized but the overall sync operation completed. If NO, it means the sync opeation completed without any errors.

Since
100.1