AVAssetDownloadUrlSession.GetAssetDownloadTask 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性
适用于
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
- options
- AVAssetDownloadOptions
返回
适用于
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
返回
- 属性
适用于
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
- options
- AVAssetDownloadOptions
返回
- 属性
适用于
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
返回
- 属性