27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSRemoteResource.h>
30 #import <ArcGIS/AGSJSONSerializable.h>
31 #import <ArcGIS/AGSCancelable.h>
78 #pragma mark initializers
83 #pragma mark properties
88 @property (nullable, nonatomic, strong, readonly) NSError *
error;
100 @property (nonatomic, copy, readonly) NSArray<AGSJobMessage*> *
messages;
117 @property (nullable, nonatomic, strong, readonly)
id result;
125 @property (nonatomic, strong, readonly) NSProgress *
progress;
131 completion:(
void(^)(
id __nullable
result, NSError * __nullable
error))completion;
155 - (id<
AGSCancelable>)cancelWithCompletion:(
void(^)(NSError * _Nullable
error))completion;
161 -(id<
AGSCancelable>)checkStatusWithCompletion:(
void(^)(NSError * __nullable
error))completion;
166 #pragma mark Deprecated
AGSJobStatus
Definition: AGSJob.h:54
@ AGSJobStatusFailed
Definition: AGSJob.h:59
@ AGSJobStatusNotStarted
Definition: AGSJob.h:55
@ AGSJobStatusPaused
Definition: AGSJob.h:57
@ AGSJobStatusCanceling
Definition: AGSJob.h:60
@ AGSJobStatusStarted
Definition: AGSJob.h:56
@ AGSJobStatusSucceeded
Definition: AGSJob.h:58
AGSJobType
Definition: AGSJob.h:39
@ AGSJobTypeExportTileCache
Definition: AGSJob.h:42
@ AGSJobTypeOfflineMapSync
Definition: AGSJob.h:46
@ AGSJobTypeDownloadPreplannedOfflineMapJob
Definition: AGSJob.h:47
@ AGSJobTypeGenerateGeodatabase
Definition: AGSJob.h:40
@ AGSJobTypeGeoprocessingJob
Definition: AGSJob.h:44
@ AGSJobTypeEstimateTileCacheSize
Definition: AGSJob.h:43
@ AGSJobTypeSyncGeodatabase
Definition: AGSJob.h:41
@ AGSJobTypeGenerateOfflineMap
Definition: AGSJob.h:45
A long running job on a remote server.
Definition: AGSJob.h:75
id result
Definition: AGSJob.h:117
AGSJobType jobType
Definition: AGSJob.h:93
NSProgress * progress
Definition: AGSJob.h:125
AGSJobStatus status
Definition: AGSJob.h:112
NSError * error
Definition: AGSJob.h:88
NSArray< AGSJobMessage * > * messages
Definition: AGSJob.h:100
NSString * serverJobID
Definition: AGSJob.h:105
Informational message about the execution of a job.
Definition: AGSJobMessage.h:59
Definition: AGSObject.h:28
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:38
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40