AVAssetDownloadUrlSession.GetAssetDownloadTask Method

Definition

Overloads

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

Gets a T:AVFoundation.AVAssetDownloadTask for the specified asset, destination, and options.

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Developers should not use this deprecated method. Please use 'GetAssetDownloadTask (AVUrlAsset, string, NSData, NSDictionary<NSString, NSObject>)'.

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Gets a T:AVFoundation.AVAssetDownloadTask for the specified asset, title, artwork, and options.

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Gets a T:AVFoundation.AVAssetDownloadTask for the specified asset, title, artwork, and options.

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

Parameters

URLAsset
AVUrlAsset
mediaSelections
AVMediaSelection[]
title
String
artworkData
NSData

To be added.

This parameter can be null.

options
NSDictionary<NSString,NSObject>

To be added.

This parameter can be null.

Returns

Attributes

Applies to

GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Gets a T:AVFoundation.AVAssetDownloadTask for the specified asset, destination, and options.

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

Parameters

urlAsset
AVUrlAsset
destinationUrl
NSUrl

Returns

Applies to

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)

Developers should not use this deprecated method. Please 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

Parameters

urlAsset
AVUrlAsset
destinationUrl
NSUrl
options
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to

GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Gets a T:AVFoundation.AVAssetDownloadTask for the specified asset, title, artwork, and options.

[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

Parameters

urlAsset
AVUrlAsset
title
String
artworkData
NSData

Returns

Attributes

Applies to

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)

Gets a T:AVFoundation.AVAssetDownloadTask for the specified asset, title, artwork, and options.

[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

Parameters

urlAsset
AVUrlAsset
title
String
artworkData
NSData

To be added.

This parameter can be null.

options
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to