Compartilhar via


AVAssetDownloadUrlSession.GetAssetDownloadTask Método

Definição

Sobrecargas

GetAssetDownloadTask(AVUrlAsset, AVMediaSelection[], String, NSData, NSDictionary<NSString,NSObject>)
GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Obtém um T:AVFoundation.AVAssetDownloadTask para o ativo, o destino e as opções especificados.

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Os desenvolvedores não devem usar esse método preterido. Use 'GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)'.

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Obtém um T:AVFoundation.AVAssetDownloadTask para o ativo, título, arte e opções especificados.

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Obtém um T:AVFoundation.AVAssetDownloadTask para o ativo, título, arte e opções especificados.

GetAssetDownloadTask(AVUrlAsset, AVMediaSelection[], String, NSData, NSDictionary<NSString,NSObject>)

[Foundation.Export("aggregateAssetDownloadTaskWithURLAsset:mediaSelections:assetTitle:assetArtworkData:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AVFoundation.AVAggregateAssetDownloadTask GetAssetDownloadTask (AVFoundation.AVUrlAsset URLAsset, AVFoundation.AVMediaSelection[] mediaSelections, string title, Foundation.NSData artworkData, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
abstract member GetAssetDownloadTask : AVFoundation.AVUrlAsset * AVFoundation.AVMediaSelection[] * string * Foundation.NSData * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> AVFoundation.AVAggregateAssetDownloadTask
override this.GetAssetDownloadTask : AVFoundation.AVUrlAsset * AVFoundation.AVMediaSelection[] * string * Foundation.NSData * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> AVFoundation.AVAggregateAssetDownloadTask

Parâmetros

URLAsset
AVUrlAsset
mediaSelections
AVMediaSelection[]
title
String
artworkData
NSData

A ser adicionado.

Esse parâmetro pode ser null.

options
NSDictionary<NSString,NSObject>

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Obtém um T:AVFoundation.AVAssetDownloadTask para o ativo, o destino e as opções especificados.

public AVFoundation.AVAssetDownloadTask GetAssetDownloadTask (AVFoundation.AVUrlAsset urlAsset, Foundation.NSUrl destinationUrl, AVFoundation.AVAssetDownloadOptions options);
member this.GetAssetDownloadTask : AVFoundation.AVUrlAsset * Foundation.NSUrl * AVFoundation.AVAssetDownloadOptions -> AVFoundation.AVAssetDownloadTask

Parâmetros

urlAsset
AVUrlAsset
destinationUrl
NSUrl

Retornos

Aplica-se a

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Os desenvolvedores não devem usar esse método preterido. Use 'GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)'.

[Foundation.Export("assetDownloadTaskWithURLAsset:destinationURL:options:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, "Please use 'GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Please use 'GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)'.")]
public virtual AVFoundation.AVAssetDownloadTask GetAssetDownloadTask (AVFoundation.AVUrlAsset urlAsset, Foundation.NSUrl destinationUrl, Foundation.NSDictionary options);
abstract member GetAssetDownloadTask : AVFoundation.AVUrlAsset * Foundation.NSUrl * Foundation.NSDictionary -> AVFoundation.AVAssetDownloadTask
override this.GetAssetDownloadTask : AVFoundation.AVUrlAsset * Foundation.NSUrl * Foundation.NSDictionary -> AVFoundation.AVAssetDownloadTask

Parâmetros

urlAsset
AVUrlAsset
destinationUrl
NSUrl
options
NSDictionary

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Obtém um T:AVFoundation.AVAssetDownloadTask para o ativo, título, arte e opções especificados.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public AVFoundation.AVAssetDownloadTask GetAssetDownloadTask (AVFoundation.AVUrlAsset urlAsset, string title, Foundation.NSData artworkData, AVFoundation.AVAssetDownloadOptions options);
member this.GetAssetDownloadTask : AVFoundation.AVUrlAsset * string * Foundation.NSData * AVFoundation.AVAssetDownloadOptions -> AVFoundation.AVAssetDownloadTask

Parâmetros

urlAsset
AVUrlAsset
title
String
artworkData
NSData

Retornos

Atributos

Aplica-se a

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Obtém um T:AVFoundation.AVAssetDownloadTask para o ativo, título, arte e opções especificados.

[Foundation.Export("assetDownloadTaskWithURLAsset:assetTitle:assetArtworkData:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AVFoundation.AVAssetDownloadTask GetAssetDownloadTask (AVFoundation.AVUrlAsset urlAsset, string title, Foundation.NSData artworkData, Foundation.NSDictionary options);
abstract member GetAssetDownloadTask : AVFoundation.AVUrlAsset * string * Foundation.NSData * Foundation.NSDictionary -> AVFoundation.AVAssetDownloadTask
override this.GetAssetDownloadTask : AVFoundation.AVUrlAsset * string * Foundation.NSData * Foundation.NSDictionary -> AVFoundation.AVAssetDownloadTask

Parâmetros

urlAsset
AVUrlAsset
title
String
artworkData
NSData

A ser adicionado.

Esse parâmetro pode ser null.

options
NSDictionary

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a