Edit

Share via


AVAssetDownloadUrlSession.CreateDataTask Method

Definition

Overloads

CreateDataTask(NSUrl)

Creates a new NSUrlSessionDataTask for the specified URL.

CreateDataTask(NSUrlRequest)

Creates a new NSUrlSessionDataTask with the specified request.

CreateDataTask(NSUrl, NSUrlSessionResponse)

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

CreateDataTask(NSUrlRequest, NSUrlSessionResponse)

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

CreateDataTask(NSUrl)

Creates a new NSUrlSessionDataTask for the specified URL.

public override Foundation.NSUrlSessionDataTask CreateDataTask (Foundation.NSUrl url);
override this.CreateDataTask : Foundation.NSUrl -> Foundation.NSUrlSessionDataTask

Parameters

url
NSUrl

Returns

Applies to

CreateDataTask(NSUrlRequest)

Creates a new NSUrlSessionDataTask with the specified request.

public override Foundation.NSUrlSessionDataTask CreateDataTask (Foundation.NSUrlRequest request);
override this.CreateDataTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionDataTask

Parameters

request
NSUrlRequest

Returns

Applies to

CreateDataTask(NSUrl, NSUrlSessionResponse)

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

public override Foundation.NSUrlSessionDataTask CreateDataTask (Foundation.NSUrl url, Foundation.NSUrlSessionResponse completionHandler);
override this.CreateDataTask : Foundation.NSUrl * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionDataTask

Parameters

url
NSUrl
completionHandler
NSUrlSessionResponse

Returns

Applies to

CreateDataTask(NSUrlRequest, NSUrlSessionResponse)

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

public override Foundation.NSUrlSessionDataTask CreateDataTask (Foundation.NSUrlRequest request, Foundation.NSUrlSessionResponse completionHandler);
override this.CreateDataTask : Foundation.NSUrlRequest * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionDataTask

Parameters

request
NSUrlRequest
completionHandler
NSUrlSessionResponse

Returns

Applies to