onDownloadProgress

open fun onDownloadProgress(@NonNull identifier: String, @NonNull containerDir: File, downloadedBytes: Long, expectedBytes: Long)

Called when a download has progressed.

Parameters

identifier

The identifier of the ad.

containerDir

The container directory of the ad.

downloadedBytes

The amount of bytes that have been downloaded.

expectedBytes

The amount of bytes that are expected to be downloaded. -1 if unknown.