Edit

Share via


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

Applies to

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

Applies to

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

Applies to

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

Applies to

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

Applies to