See Also: SyncResult
public sealed class SyncResult : Object, IParcelable, IDisposable
This class is used to communicate the results of a sync operation to the SyncManager. Based on the values here the SyncManager will determine the disposition of the sync and whether or not a new sync operation needs to be scheduled in the future.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5
The members of Android.Content.SyncResult are listed below.
See Also: Object
|Create a "clean" SyncResult.|
|AlreadyInProgress||SyncResult. This instance of a SyncResult is returned by the SyncAdapter in response to a sync request when a sync is already underway.|
|DatabaseError||Boolean. Used to indicate that the SyncAdapter experienced a hard error due to an error it received from interacting with the storage layer.|
|DelayUntil||Int64. Used to indicate to the SyncManager that future sync requests that match the request's Account and authority should be delayed at least this many seconds.|
|FullSyncRequested||Boolean. If set the SyncManager will request an immediate sync with the same Account and authority (but empty extras Bundle) as was used in the sync request.|
|[read-only]||HasError||Boolean. A convenience method for determining of the SyncResult indicates that an error occurred.|
|[read-only]||HasHardError||Boolean. Convenience method for determining if the SyncResult indicates that a hard error occurred.|
|[read-only]||HasSoftError||Boolean. Convenience method for determining if the SyncResult indicates that a soft error occurred.|
|MoreRecordsToGet||Boolean. This field is ignored by the SyncManager.|
|PartialSyncUnavailable||Boolean. This field is ignored by the SyncManager.|
|Stats||SyncStats. Used to hold extras statistics about the sync operation.|
|SyncAlreadyInProgress||Boolean. Used to indicate that the SyncAdapter is already performing a sync operation, though not necessarily for the requested account and authority and that it wasn't able to process this request.|
|TooManyDeletions||Boolean. Used to indicate that the SyncAdapter determined that it would need to issue too many delete operations to the server in order to satisfy the request (as defined by the SyncAdapter).|
|TooManyRetries||Boolean. Used to indicate that the SyncAdapter experienced a hard error due to trying the same operation too many times (as defined by the SyncAdapter).|
Clears the SyncResult to a clean state.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Convenience method for determining if the Sync should be rescheduled after failing for some reason.
Generates a debugging string indicating the status.
Flatten this object in to a Parcel.