Språk

SyncResult.DatabaseError Property

Definition

Used to indicate that the SyncAdapter experienced a hard error due to an error it received from interacting with the storage layer.

[Android.Runtime.Register("databaseError")]
public bool DatabaseError { get; set; }
[<Android.Runtime.Register("databaseError")>]
member this.DatabaseError : bool with get, set

Property Value

Indicates that the sync adapter experienced a hard error in the storage layer. The sync manager records the failure, but can retry the operation in some cases.

Attributes

Remarks

The sync manager can retry an upload-only sync as a two-way sync. It can also retry a sync that made progress or encountered a soft error.

Java documentation for android.content.SyncResult.databaseError.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to