Progress

data class Progress(val transferredBytes: ULong, val transferableBytes: ULong)

A progress indicator emitted by flows created from SyncSession.progressAsFlow.

Constructors

Link copied to clipboard
constructor(transferredBytes: ULong, transferableBytes: ULong)

Properties

Link copied to clipboard

Property indicating if all pending bytes have been transferred.

Link copied to clipboard

Total number of transferable bytes (bytes that have been transferred + pending bytes not yet transferred).

Link copied to clipboard

Total number of bytes that has been transferred by the SyncSession.