RLMSyncProgress
Objective-C
struct RLMSyncProgress {}
Swift
struct RLMSyncProgress
A struct encapsulating progress information.
-
The number of bytes that have been transferred.
Declaration
Objective-C
NSUInteger transferredBytes
Swift
var transferredBytes: UInt
-
The total number of transferrable bytes (bytes that have been transferred, plus bytes pending transfer).
Declaration
Objective-C
NSUInteger transferrableBytes
Swift
var transferrableBytes: UInt
-
A value between 0.0 and 1.0 representing the estimated transfer progress. This value is precise for uploads, but will be based on historical data and certain heuristics applied by the server for downloads.
Whenever the progress reporting mode is
forCurrentlyOutstandingWork
, that value will monotonically increase until it reaches 1.0. If the progress mode isreportIndefinitely
, the value may either increase or decrease as new data needs to be transferred.Declaration
Objective-C
double progressEstimate
Swift
var progressEstimate: Double