Class OfflineMapSyncJob
- All Implemented Interfaces:
JsonSerializable
,RemoteResource
An OfflineMapSyncJob instance is returned by
OfflineMapSyncTask.syncOfflineMap(OfflineMapSyncParameters)
. The Job is returned in a
Status.NOT_STARTED
state and Job.start()
must
be called to start the associated operation.
See the Job
class for full information on how to work with jobs.
- Since:
- 100.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.arcgisruntime.concurrent.Job
Job.Message, Job.MessageSeverity, Job.MessageSource, Job.Status
-
Field Summary
Fields inherited from class com.esri.arcgisruntime.concurrent.Job
mCredential, mRequestConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionGets information on upload and download delta geodatabases generated during the sync process.Returns an OfflineMapSyncResult once the job has completed.Methods inherited from class com.esri.arcgisruntime.concurrent.Job
addJobDoneListener, addJobMessageAddedListener, addProgressChangedListener, addStatusChangedListener, cancelAsync, fromJson, getCredential, getError, getMessages, getProgress, getRequestConfiguration, getServerJobId, getStatus, getUnknownJson, getUnsupportedJson, getUri, pause, removeJobDoneListener, removeJobMessageAddedListener, removeProgressChangedListener, removeStatusChangedListener, setCredential, setRequestConfiguration, start, toJson
-
Method Details
-
getGeodatabaseDeltaInfos
Gets information on upload and download delta geodatabases generated during the sync process.Contains a collection of
GeodatabaseDeltaInfo
with one for each geodatabase synced. These provide information about the synced geodatabase along with the paths to its uploaded and downloaded deltas.Delta geodatabases allow you to troubleshoot sync problems - for example by inspecting the changes they contain or sending the file to the system administrator for the feature service.
This collection will be updated even if the job fails and there are deltas on disk. This collection will only be updated if
OfflineMapSyncParameters.isKeepGeodatabaseDeltas()
is true, otherwise it will remain empty.- Returns:
- an unmodifiable list containing information on upload and download delta geodatabases generated during the sync process
- Since:
- 100.10.0
-
getResult
Returns an OfflineMapSyncResult once the job has completed. The methods of OfflineMapSyncResult indicate if there were errors related to any layers or tables within the map.
-