Condividi tramite


AVAssetDownloadUrlSession.GetAssetDownloadTask Metodo

Definizione

Overload

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

Ottiene un per l'asset, la destinazione e le opzioni specificati.

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Gli sviluppatori non devono usare questo metodo deprecato. Usare 'GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)'.

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Ottiene un per l'asset, il titolo, la grafica e le opzioni specificati.

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Ottiene un per l'asset, il titolo, la grafica e le opzioni specificati.

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

Parametri

URLAsset
AVUrlAsset
mediaSelections
AVMediaSelection[]
title
String
artworkData
NSData

Da aggiungere.

Questo parametro può essere null.

options
NSDictionary<NSString,NSObject>

Da aggiungere.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a

GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Ottiene un per l'asset, la destinazione e le opzioni specificati.

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

Parametri

urlAsset
AVUrlAsset
destinationUrl
NSUrl

Restituisce

Si applica a

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Gli sviluppatori non devono usare questo metodo deprecato. Usare '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

Parametri

urlAsset
AVUrlAsset
destinationUrl
NSUrl
options
NSDictionary

Da aggiungere.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Ottiene un per l'asset, il titolo, la grafica e le opzioni specificati.

[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

Parametri

urlAsset
AVUrlAsset
title
String
artworkData
NSData

Restituisce

Attributi

Si applica a

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Ottiene un per l'asset, il titolo, la grafica e le opzioni specificati.

[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

Parametri

urlAsset
AVUrlAsset
title
String
artworkData
NSData

Da aggiungere.

Questo parametro può essere null.

options
NSDictionary

Da aggiungere.

Questo parametro può essere null.

Restituisce

Attributi

Si applica a