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