Compartir a través de


SyncResult.HasSoftError Property

Definition

Convenience method for determining if the SyncResult indicates that a soft error occurred.

public bool HasSoftError { [Android.Runtime.Register("hasSoftError", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasSoftError", "()Z", "")>]
member this.HasSoftError : bool

Property Value

true if a soft error is indicated

Attributes

Remarks

Convenience method for determining if the SyncResult indicates that a soft error occurred. See #SyncResult() for an explanation of what the SyncManager does when it sees a soft error.

A soft error is indicated when any of the following is true: <ul> <li> SyncStats#numIoExceptions > 0 <li> #syncAlreadyInProgress</ul>

Java documentation for android.content.SyncResult.hasSoftError().

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