ArcGIS Runtime SDK for iOS: AGSSyncGeodatabaseJob.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSSyncGeodatabaseJob.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSJob.h>
27 
28 @class AGSSyncLayerResult;
30 
44 
45 
46 #pragma mark -
47 #pragma mark initializers
48 
49 #pragma mark -
50 #pragma mark properties
51 
64 @property (nullable, nonatomic, strong, readonly) AGSGeodatabaseDeltaInfo *geodatabaseDeltaInfo;
65 
78 @property (nullable, nonatomic, strong, readonly) NSArray<AGSSyncLayerResult*> *result;
79 
80 #pragma mark -
81 #pragma mark methods
82 
90 -(void)startWithStatusHandler:(nullable void(^)(AGSJobStatus status))statusHandler
91  completion:(void(^)(NSArray<AGSSyncLayerResult*> * __nullable result, NSError * __nullable error))completion;
92 
93 
94 @end
AGSJobStatus
Definition: AGSJob.h:54
Represents the delta files created to synchronize changes to an AGSGeodatabase object.
Definition: AGSGeodatabaseDeltaInfo.h:52
A long running job on a remote server.
Definition: AGSJob.h:75
AGSJobStatus status
Definition: AGSJob.h:112
NSError * error
Definition: AGSJob.h:88
A job to synchronize changes between a geodatabase and an ArcGIS Feature service.
Definition: AGSSyncGeodatabaseJob.h:44
NSArray< AGSSyncLayerResult * > * result
Definition: AGSSyncGeodatabaseJob.h:78
AGSGeodatabaseDeltaInfo * geodatabaseDeltaInfo
Definition: AGSSyncGeodatabaseJob.h:64
Result of a sync operation by AGSSyncGeodatabaseJob.
Definition: AGSSyncLayerResult.h:41