DTGItem
public protocol DTGItem
A downloadable item.
-
The item’s unique id.
Declaration
Swift
var id: String { get }
-
The items’s remote URL.
Declaration
Swift
var remoteUrl: URL { get }
-
The item’s current state.
Declaration
Swift
var state: DTGItemState { get }
-
Estimated size of the item.
Declaration
Swift
var estimatedSize: Int64? { get }
-
Downloaded size in bytes.
Declaration
Swift
var downloadedSize: Int64 { get }
-
The selected text tracks for download (when download finishes this represents the downloaded tracks)
Declaration
Swift
var selectedTextTracks: [TrackInfo] { get }
-
The selected audio tracks for download (when download finishes this represents the downloaded tracks)
Declaration
Swift
var selectedAudioTracks: [TrackInfo] { get }