CURRENT_CHANGES

Used to pass to SyncSession.progressAsFlow to create a flow that will record the size of the current outstanding changes not transferred, and will only continue to report progress updates until those changes have been either downloaded or uploaded. After that the progress listener will not report any further changes.

Progress reported in this mode will only ever increase.

NOTE: The Flow returned by SyncSession.progressAsFlow will complete when the transfer is done, i.e. after emitting a Progress with Progress.isTransferComplete being true.

Properties

Link copied to clipboard
Link copied to clipboard