Progress

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

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

Constructors

Progress
Link copied to clipboard
fun Progress(transferredBytes: ULong, transferableBytes: ULong)

Properties

isTransferComplete
Link copied to clipboard
val isTransferComplete: Boolean

Property indicating if all pending bytes have been transferred.

transferableBytes
Link copied to clipboard
val transferableBytes: ULong

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

transferredBytes
Link copied to clipboard
val transferredBytes: ULong

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