Editar

Compartir a través de


AVAssetDownloadUrlSession.FromConfiguration Method

Definition

Overloads

FromConfiguration(NSUrlSessionConfiguration)

Creates a new NSUrlSession from the specified configuration.

FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)

Creates a new NSUrlSession by using the specified configuration, delegate, and delegate cue.

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)
Obsolete.

Creates a new NSUrlSession from the specified configuration and session delegate and delegate queue.

FromConfiguration(NSUrlSessionConfiguration)

Creates a new NSUrlSession from the specified configuration.

public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration -> Foundation.NSUrlSession

Parameters

Returns

Applies to

FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)

Creates a new NSUrlSession by using the specified configuration, delegate, and delegate cue.

public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration, Foundation.INSUrlSessionDelegate sessionDelegate, Foundation.NSOperationQueue delegateQueue);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration * Foundation.INSUrlSessionDelegate * Foundation.NSOperationQueue -> Foundation.NSUrlSession

Parameters

configuration
NSUrlSessionConfiguration

The session configuration to use.

sessionDelegate
INSUrlSessionDelegate

The session delegate to use.

delegateQueue
NSOperationQueue

The operation cue to use.

Returns

Applies to

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)

Caution

Use the overload with a 'INSUrlSessionDelegate' parameter.

Creates a new NSUrlSession from the specified configuration and session delegate and delegate queue.

[System.Obsolete("Use the overload with a 'INSUrlSessionDelegate' parameter.")]
public static Foundation.NSUrlSession FromConfiguration (Foundation.NSUrlSessionConfiguration configuration, Foundation.NSUrlSessionDelegate sessionDelegate, Foundation.NSOperationQueue delegateQueue);
static member FromConfiguration : Foundation.NSUrlSessionConfiguration * Foundation.NSUrlSessionDelegate * Foundation.NSOperationQueue -> Foundation.NSUrlSession

Parameters

sessionDelegate
NSUrlSessionDelegate
delegateQueue
NSOperationQueue

Returns

Attributes

Applies to