Compartir a través de


AVAssetDownloadUrlSession.GetAssetDownloadTask Método

Definición

Sobrecargas

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

Obtiene un T:AVFoundation.AVAssetDownloadTask para el recurso, el destino y las opciones especificados.

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Los desarrolladores no deben usar este método en desuso. Use "GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)".

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Obtiene un T:AVFoundation.AVAssetDownloadTask para el recurso, el título, las ilustraciones y las opciones especificados.

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Obtiene un T:AVFoundation.AVAssetDownloadTask para el recurso, el título, las ilustraciones y las opciones 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

Se agregará.

Este parámetro puede ser null.

options
NSDictionary<NSString,NSObject>

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a

GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Obtiene un T:AVFoundation.AVAssetDownloadTask para el recurso, el destino y las opciones 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

Devoluciones

Se aplica a

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Los desarrolladores no deben usar este método en desuso. 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

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Obtiene un T:AVFoundation.AVAssetDownloadTask para el recurso, el título, las ilustraciones y las opciones 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

Devoluciones

Atributos

Se aplica a

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Obtiene un T:AVFoundation.AVAssetDownloadTask para el recurso, el título, las ilustraciones y las opciones 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

Se agregará.

Este parámetro puede ser null.

options
NSDictionary

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a