Docs Menu
Docs Home
/ /
Atlas Device SDKs
/
/

Check Upload & Download Progress for a Sync Session - Java SDK

Note

Flexible Sync progress notifications are not yet fully supported. When using Flexible Sync, downloads only report notifications after changes are integrated. Partition-Based Sync provides ongoing notifications as changes progress downloading. Uploads report ongoing progress notifications for both Sync Modes.

To subscribe to progress updates for uploads, call addUploadProgressListener() on your SyncSession with a ProgressMode and a ProgressListener(). The ProgressMode passed determines which upload events your listener receives:

To subscribe to progress updates for downloads, call addDownloadProgressListener() on your SyncSession with a ProgressMode and a ProgressListener(). The ProgressMode passed determines which download events your listener receives:

← 
 →