Freigeben über


AVAssetDownloadUrlSession.GetAssetDownloadTask Methode

Definition

Überlädt

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

Ruft eine T:AVFoundation.AVAssetDownloadTask für das angegebene Objekt, das angegebene Ziel und die optionen ab.

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Entwickler sollten diese veraltete Methode nicht verwenden. Verwenden Sie "GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)".

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Ruft eine T:AVFoundation.AVAssetDownloadTask für das angegebene Objekt, den titel, das Bildmaterial und die Optionen ab.

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Ruft eine T:AVFoundation.AVAssetDownloadTask für das angegebene Objekt, den titel, das Bildmaterial und die Optionen ab.

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

Parameter

URLAsset
AVUrlAsset
mediaSelections
AVMediaSelection[]
title
String
artworkData
NSData

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

options
NSDictionary<NSString,NSObject>

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Gibt zurück

Attribute

Gilt für:

GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Ruft eine T:AVFoundation.AVAssetDownloadTask für das angegebene Objekt, das angegebene Ziel und die optionen ab.

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

Parameter

urlAsset
AVUrlAsset
destinationUrl
NSUrl

Gibt zurück

Gilt für:

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Entwickler sollten diese veraltete Methode nicht verwenden. Verwenden Sie "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

Parameter

urlAsset
AVUrlAsset
destinationUrl
NSUrl
options
NSDictionary

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Gibt zurück

Attribute

Gilt für:

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Ruft eine T:AVFoundation.AVAssetDownloadTask für das angegebene Objekt, den titel, das Bildmaterial und die Optionen ab.

[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

Parameter

urlAsset
AVUrlAsset
title
String
artworkData
NSData

Gibt zurück

Attribute

Gilt für:

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Ruft eine T:AVFoundation.AVAssetDownloadTask für das angegebene Objekt, den titel, das Bildmaterial und die Optionen ab.

[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

Parameter

urlAsset
AVUrlAsset
title
String
artworkData
NSData

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

options
NSDictionary

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Gibt zurück

Attribute

Gilt für: