OfflineManagerDelegate
@objc(BMPOfflineManagerDelegate)
public protocol OfflineManagerDelegate : NSObjectProtocol
Protocol for delegate for the OfflineManager.
-
Is called when the
OfflineManager
finishes restoring all suspended downloads. Restoring is triggered when initializing theOfflineManager
in case some downloads are still pending.Warning
Any
resume
orcancel
actions triggered before this method gets called are not guaranteed and might result in unexpected behaviour.Declaration
Swift
@objc optional func offlineManagerDidRestoreSuspendedDownloads(_ offlineManager: OfflineManager)
Parameters
offlineManager
The
OfflineManager
calling the delegate.