共用方式為


AVAssetDownloadUrlSession.FromConfiguration 方法

定義

多載

FromConfiguration(NSUrlSessionConfiguration)

從指定的 NSUrlSession 建立新 configuration

FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)

使用指定的組態、委派和委派提示,建立新的 NSUrlSession

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)
已淘汰.

從指定的 configuration 和 會話委派和委派佇列建立新的 NSUrlSession

FromConfiguration(NSUrlSessionConfiguration)

從指定的 NSUrlSession 建立新 configuration

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

參數

傳回

適用於

FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)

使用指定的組態、委派和委派提示,建立新的 NSUrlSession

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

參數

configuration
NSUrlSessionConfiguration

要使用的會話組態。

sessionDelegate
INSUrlSessionDelegate

要使用的會話委派。

delegateQueue
NSOperationQueue

要使用的作業提示。

傳回

適用於

FromConfiguration(NSUrlSessionConfiguration, NSUrlSessionDelegate, NSOperationQueue)

警告

Use the overload with a 'INSUrlSessionDelegate' parameter.

從指定的 configuration 和 會話委派和委派佇列建立新的 NSUrlSession

[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

參數

sessionDelegate
NSUrlSessionDelegate
delegateQueue
NSOperationQueue

傳回

屬性

適用於