Edit

Share via


AVAssetDownloadUrlSession.CreateUploadTask Method

Definition

Overloads

CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse)

Creates a new NSUrlSessionUploadTask for the specified request and fileURL, and runs completeionHandler when it is finished.

CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse)

Creates a new NSUrlSessionUploadTask for the specified request and bodyData, and runs completeionHandler when it is finished.

CreateUploadTask(NSUrlRequest)

Creates a new NSUrlSessionUploadTask for the specified request.

CreateUploadTask(NSUrlRequest, NSData)

Creates a new NSUrlSessionUploadTask for the specified request and bodyData.

CreateUploadTask(NSUrlRequest, NSUrl)

Creates a new NSUrlSessionUploadTask for the specified request and fileURL.

CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse)

Creates a new NSUrlSessionUploadTask for the specified request and fileURL, and runs completeionHandler when it is finished.

public override Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSUrl fileURL, Foundation.NSUrlSessionResponse completionHandler);
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSUrl * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionUploadTask

Parameters

request
NSUrlRequest
fileURL
NSUrl
completionHandler
NSUrlSessionResponse

Returns

Applies to

CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse)

Creates a new NSUrlSessionUploadTask for the specified request and bodyData, and runs completeionHandler when it is finished.

public override Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSData bodyData, Foundation.NSUrlSessionResponse completionHandler);
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSData * Foundation.NSUrlSessionResponse -> Foundation.NSUrlSessionUploadTask

Parameters

request
NSUrlRequest
bodyData
NSData
completionHandler
NSUrlSessionResponse

Returns

Applies to

CreateUploadTask(NSUrlRequest)

Creates a new NSUrlSessionUploadTask for the specified request.

public override Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request);
override this.CreateUploadTask : Foundation.NSUrlRequest -> Foundation.NSUrlSessionUploadTask

Parameters

request
NSUrlRequest

Returns

Applies to

CreateUploadTask(NSUrlRequest, NSData)

Creates a new NSUrlSessionUploadTask for the specified request and bodyData.

public override Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSData bodyData);
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSData -> Foundation.NSUrlSessionUploadTask

Parameters

request
NSUrlRequest
bodyData
NSData

Returns

Applies to

CreateUploadTask(NSUrlRequest, NSUrl)

Creates a new NSUrlSessionUploadTask for the specified request and fileURL.

public override Foundation.NSUrlSessionUploadTask CreateUploadTask (Foundation.NSUrlRequest request, Foundation.NSUrl fileURL);
override this.CreateUploadTask : Foundation.NSUrlRequest * Foundation.NSUrl -> Foundation.NSUrlSessionUploadTask

Parameters

request
NSUrlRequest
fileURL
NSUrl

Returns

Applies to