SyncProgress
data class SyncProgress(val total: Int = 0, val current: Int = 0, val message: String? = null)(source)
Data class that represents the progress of a sync operation.
This is emitted by Syncable.sync implementations to report progress to SyncWorker, which displays it in a foreground service notification.
Parameters
total
Number of items in the current phase, not an overall operation total.
current
Number of items processed in the current phase.
message
The message to display during the sync operation.
See also
Interface implemented by syncable repositories