ArcGIS Runtime SDK for iOS: AGSOfflineMapSyncJob.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSOfflineMapSyncJob.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 
31  //Required for Globals API doc
33 
49 
50 
51 
52 #pragma mark -
53 #pragma mark initializers
54 
55 
56 
57 #pragma mark -
58 #pragma mark properties
59 
73 @property (nonatomic, copy, readonly) NSArray<AGSGeodatabaseDeltaInfo *> *geodatabaseDeltaInfos;
74 
78 @property (nullable, nonatomic, strong, readonly) AGSOfflineMapSyncResult *result;
79 
83 @property (nonatomic, strong, readonly) AGSOfflineMapSyncParameters *parameters;
84 
85 #pragma mark -
86 #pragma mark methods
87 
94 -(void)startWithStatusHandler:(nullable void(^)(AGSJobStatus status))statusHandler
95  completion:(void(^)(AGSOfflineMapSyncResult * __nullable result, NSError * __nullable error))completion;
96 
97 @end
98 
99 
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 sync an offline map.
Definition: AGSOfflineMapSyncJob.h:49
AGSOfflineMapSyncParameters * parameters
Definition: AGSOfflineMapSyncJob.h:83
NSArray< AGSGeodatabaseDeltaInfo * > * geodatabaseDeltaInfos
Definition: AGSOfflineMapSyncJob.h:73
AGSOfflineMapSyncResult * result
Definition: AGSOfflineMapSyncJob.h:78
Parameters to synchronize an offline map.
Definition: AGSOfflineMapSyncParameters.h:50
Result of a sync operation by an AGSOfflineMapSyncJob object.
Definition: AGSOfflineMapSyncResult.h:41