RLMSyncProgressDirection
Objective-C
enum RLMSyncProgressDirection : NSUInteger {}
Swift
@frozen enum RLMSyncProgressDirection : UInt, @unchecked Sendable
The transfer direction (upload or download) tracked by a given progress notification block.
Progress notification blocks can be registered on sessions if your app wishes to be informed how many bytes have been uploaded or downloaded, for example to show progress indicator UIs.
-
For monitoring upload progress.
Declaration
Objective-C
RLMSyncProgressDirectionUpload
Swift
case upload = 0
-
For monitoring download progress.
Declaration
Objective-C
RLMSyncProgressDirectionDownload
Swift
case download = 1