Android.Content.SyncResult Members

The members of Android.Content.SyncResult are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a "clean" SyncResult.

Public Properties

[read-only]
static
AlreadyInProgressSyncResult. This instance of a SyncResult is returned by the SyncAdapter in response to a sync request when a sync is already underway.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
DatabaseErrorbool. Used to indicate that the SyncAdapter experienced a hard error due to an error it received from interacting with the storage layer.
DelayUntillong. 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.
FullSyncRequestedbool. 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]
HasErrorbool. A convenience method for determining of the SyncResult indicates that an error occurred.
[read-only]
HasHardErrorbool. Convenience method for determining if the SyncResult indicates that a hard error occurred.
[read-only]
HasSoftErrorbool. Convenience method for determining if the SyncResult indicates that a soft error occurred.
MoreRecordsToGetbool. This field is ignored by the SyncManager.
PartialSyncUnavailablebool. This field is ignored by the SyncManager.
StatsSyncStats. Used to hold extras statistics about the sync operation.
SyncAlreadyInProgressbool. 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.
TooManyDeletionsbool. 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).
TooManyRetriesbool. Used to indicate that the SyncAdapter experienced a hard error due to trying the same operation too many times (as defined by the SyncAdapter).

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Clear()
Clears the SyncResult to a clean state.
DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
MadeSomeProgress() : bool
Convenience method for determining if the Sync should be rescheduled after failing for some reason.
ToDebugString() : string
Generates a debugging string indicating the status.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.