SyncStatusData

interface SyncStatusData

Inheritors

Properties

Link copied to clipboard
abstract val anyError: Any?

Convenience getter for either the value of downloadError or uploadError

Link copied to clipboard
abstract val connected: Boolean

true if currently connected.

Link copied to clipboard
abstract val connecting: Boolean

true if the PowerSync connection is busy connecting.

Link copied to clipboard
abstract val downloadError: Any?

Error during downloading (including connecting).

Link copied to clipboard
abstract val downloading: Boolean

true if actively downloading changes.

Link copied to clipboard

Realtime progress information about downloaded operations during an active sync.

Link copied to clipboard
abstract val hasSynced: Boolean?

Indicates whether there has been at least one full sync, if any.

Link copied to clipboard
abstract val lastSyncedAt: Instant?

Time that a last sync has fully completed, if any.

Link copied to clipboard

Available PriorityStatusEntry reporting the sync status for buckets within priorities.

Link copied to clipboard
abstract val uploadError: Any?

Error during uploading.

Link copied to clipboard
abstract val uploading: Boolean

true if uploading changes

Functions

Link copied to clipboard

Status information for whether buckets in priority have been synchronized.