AVAssetDownloadUrlSession.CreateDownloadTask Method

Definition

Overloads

CreateDownloadTask(NSData)

reates a new NSUrlSessionDataTask that resumes downloading resumeData.

CreateDownloadTask(NSUrl)

Creates a new NSUrlSessionDownloadTask for the specified URL.

CreateDownloadTask(NSUrlRequest)

Creates a new NSUrlSessionDownloadTask for the specified request.

CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask for the specified url, and runs a completion handler when it is finished.

CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask for the specified request, and runs a completion handler when it is finished.

CreateDownloadTask(NSData)

reates a new NSUrlSessionDataTask that resumes downloading resumeData.

public override Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSData resumeData);
override this.CreateDownloadTask : Foundation.NSData -> Foundation.NSUrlSessionDownloadTask

Parameters

resumeData
NSData

Returns

NSUrlSessionDownloadTask

CreateDownloadTask(NSUrl)

Creates a new NSUrlSessionDownloadTask for the specified URL.

public override Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrl url);
override this.CreateDownloadTask : Foundation.NSUrl -> Foundation.NSUrlSessionDownloadTask

Parameters

url
NSUrl

Returns

NSUrlSessionDownloadTask

CreateDownloadTask(NSUrlRequest)

Creates a new NSUrlSessionDownloadTask for the specified request.

public override Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrlRequest request);
override this.CreateDownloadTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionDownloadTask

Parameters

request
NSUrlRequest

Returns

NSUrlSessionDownloadTask

CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask for the specified url, and runs a completion handler when it is finished.

public override Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrl url, Foundation.NSUrlDownloadSessionResponse completionHandler);
override this.CreateDownloadTask : Foundation.NSUrl * Foundation.NSUrlDownloadSessionResponse -> Foundation.NSUrlSessionDownloadTask

Parameters

url
NSUrl
completionHandler
NSUrlDownloadSessionResponse

Returns

NSUrlSessionDownloadTask

CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask for the specified request, and runs a completion handler when it is finished.

public override Foundation.NSUrlSessionDownloadTask CreateDownloadTask (Foundation.NSUrlRequest request, Foundation.NSUrlDownloadSessionResponse completionHandler);
override this.CreateDownloadTask : Foundation.NSUrlRequest * Foundation.NSUrlDownloadSessionResponse -> Foundation.NSUrlSessionDownloadTask

Parameters

request
NSUrlRequest
completionHandler
NSUrlDownloadSessionResponse

Returns

NSUrlSessionDownloadTask

Applies to