Progress Mode
A progress mode is used to select which notifications are received from SyncSession.progressAsFlow.
Entries
INDEFINITELY
Link copied to clipboard
Content copied to clipboard
Used to pass to SyncSession.progressAsFlow to create a flow that reports the size of outstanding changes not yet transferred and will continue to report progress changes, even if changes are being added after the listener was registered.
CURRENT_CHANGES
Link copied to clipboard
Content copied to clipboard
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.