On this page
Class used to encapsulate progress notifications when either downloading or uploading Realm data. Each instance of this class is an immutable snapshot of the current progress.If the ProgressListener was registered with ProgressMode.INDEFINITELY , the progress reported by getFractionTransferred() can both increase and decrease since more changes might be added while the progres listener is registered. This means it is possible for one notification to report
true for isTransferComplete() , and then on the next event report
Modifier and Type
Method and Description
The fraction of bytes transferred out of all transferable bytes.
Returns the total number of transferable bytes (bytes that have been transferred + bytes pending transfer).
Methods inherited from class java.lang.Object :
Returns the total number of transferable bytes (bytes that have been transferred + bytes pending transfer).If the ProgressListener is tracking downloads, this number represents the size of the changesets generated by all other clients using the Realm.
If the ProgressListener is tracking uploads, this number represents the size of changesets created locally.
the total number of bytes that has been transferred + number of bytes still pending transfer.