DownloadStatusListner
public protocol DownloadStatusListner : AnyObject
Observer for Downloadable retrieving progress
-
Next data chunk is downloaded
Declaration
Swift
func downloadProgressUpdated(progress: FileDownloadProgress)Parameters
progressobject downloading progress struct
-
Called when
Downloadableis being started to downloadDeclaration
Swift
func downloadBegan() -
Called when downloading is successfully finished
Declaration
Swift
func downloadFinished() -
Called when downloading failed
Declaration
Swift
func downloadFailed(_ error: Error)Parameters
errorreason of failure
DownloadStatusListner Protocol Reference