Contents

urlSession(_:assetDownloadTask:didReceive:)

Sent when a download task receives an AVMetricEvent.

Declaration

optional func urlSession(_ session: URLSession, assetDownloadTask: AVAssetDownloadTask, didReceive metricEvent: AVMetricEvent)

Parameters

  • session:

    The NSURLSession corresponding to this AVAssetDownloadTask.

  • assetDownloadTask:

    The asset download task.

  • metricEvent:

    The metric event received.

See Also

Responding to download events