SyncStatus

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val anyError: Any?

Convenience getter for either the value of downloadError or uploadError

Link copied to clipboard
open override val connected: Boolean

true if currently connected.

Link copied to clipboard
open override val connecting: Boolean

true if the PowerSync connection is busy connecting.

Link copied to clipboard
open override val downloadError: Any?

Error during downloading (including connecting).

Link copied to clipboard
open override 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
open override val hasSynced: Boolean?

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

Link copied to clipboard
open override 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
open override val uploadError: Any?

Error during uploading.

Link copied to clipboard
open override val uploading: Boolean

true if uploading changes

Functions

Link copied to clipboard
fun asFlow(): SharedFlow<SyncStatusData>
Link copied to clipboard

Status information for whether buckets in priority have been synchronized.

Link copied to clipboard
open override fun toString(): String