AVAssetDownloadUrlSession.GetAssetDownloadTask 方法

定义

重载

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

获取指定资产、目标和选项的 T:AVFoundation.AVAssetDownloadTask

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

开发人员不应使用此已弃用的方法。 请使用“GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>) ”。

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

获取指定资产、标题、插图和选项的 T:AVFoundation.AVAssetDownloadTask

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

获取指定资产、标题、插图和选项的 T:AVFoundation.AVAssetDownloadTask

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

参数

URLAsset
AVUrlAsset
mediaSelections
AVMediaSelection[]
title
String
artworkData
NSData

内容待定。

此参数可以为 null

options
NSDictionary<NSString,NSObject>

内容待定。

此参数可以为 null

返回

属性

适用于

GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

获取指定资产、目标和选项的 T:AVFoundation.AVAssetDownloadTask

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

参数

urlAsset
AVUrlAsset
destinationUrl
NSUrl

返回

适用于

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

开发人员不应使用此已弃用的方法。 请使用“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

参数

urlAsset
AVUrlAsset
destinationUrl
NSUrl
options
NSDictionary

内容待定。

此参数可以为 null

返回

属性

适用于

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

获取指定资产、标题、插图和选项的 T:AVFoundation.AVAssetDownloadTask

[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

参数

urlAsset
AVUrlAsset
title
String
artworkData
NSData

返回

属性

适用于

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

获取指定资产、标题、插图和选项的 T:AVFoundation.AVAssetDownloadTask

[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

参数

urlAsset
AVUrlAsset
title
String
artworkData
NSData

内容待定。

此参数可以为 null

options
NSDictionary

内容待定。

此参数可以为 null

返回

属性

适用于