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 the OfflineManager in case some downloads are still pending.

    Warning

    Any resume or cancel 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.