init(asset:title:)
Creates a download configuration for a media asset.
Declaration
convenience init(asset: AVURLAsset, title: String)Parameters
- asset:
The asset the task downloads.
- title:
A human-readable title for this asset. The system displays this value in the usage pane of the Settings app; choose a title suitable for display in the user’s preferred language.