ContentManagerDelegate

public protocol ContentManagerDelegate : AnyObject

Delegate that will receive download events.

  • Some data was downloaded for the item.

    Declaration

    Swift

    func item(id: String, didDownloadData totalBytesDownloaded: Int64, totalBytesEstimated: Int64?)
  • Item has changed state. in case state will be failed, the error will be provided (interupted state could also provide error).

    Declaration

    Swift

    func item(id: String, didChangeToState newState: DTGItemState, error: Error?)