DownloadSizeMismatchException

class DownloadSizeMismatchException(val expectedBytes: Long, val actualBytes: Long) : ModelDownloadException(source)

The downloaded size differs from the expected size or from the size the server announced.

Constructors

Link copied to clipboard
constructor(expectedBytes: Long, actualBytes: Long)

Properties

Link copied to clipboard

the size actually received, in bytes.

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

the expected size in bytes.

Link copied to clipboard
expect open val message: String?