OfflineMapSyncJob class final

A Job to synchronize an offline map's geodatabases with their originating services.

Note that if this job is to be serialized to JSON, its map needs to be loaded first. An attempt to serialize with a not loaded map will throw an ArcGISExceptionType.mappingNotLoaded exception.

Inheritance

Properties

error ArcGISException?
Contains an error if the job fails, otherwise null.
no setterinherited
geodatabaseDeltaInfos List<GeodatabaseDeltaInfo>
Returns information on upload and download delta geodatabases generated during the sync process.
no setter
hashCode int
The hash code for this object.
no setterinherited
messages List<JobMessage>
The job's messages.
no setterinherited
onJobDone Stream<void>
Sets the function that will be called when the job is done.
no setterinherited
onMessageAdded Stream<JobMessage>
Indicates that a new JobMessage was added to Job.messages.
no setterinherited
onProgressChanged Stream<int>
Sets the function that will be called when the job's progress has changed.
no setterinherited
onStatusChanged Stream<JobStatus>
Indicates that the Job.status property has changed.
no setterinherited
parameters OfflineMapSyncParameters
The parameters used by this job.
no setter
progress int
The current progress of the job as a percentage complete.
no setterinherited
result OfflineMapSyncResult?
The result of a succeeded offline map sync job.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverJobId String
The server job Id of the job.
no setterinherited
status JobStatus
The status of the job.
no setterinherited

Methods

cancel() Future<bool>
Cancels this Job and waits for any asynchronous, server-side operations to be canceled.
inherited
checkStatus() Future<bool>
Initiates a request to check the server status.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() bool
Pauses the job.
inherited
run() Future<OfflineMapSyncResult>
Starts the job and returns a Future that completes with either the result of the job or an error if the job did not finish successfully.
inherited
start() bool
Starts the job if the job is not started or paused.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
toJsonString() String
Returns a JSON representation of this Object as a String.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited