Track
@objcMembers
@objc(BMPTrack)
public class Track : NSObject, @unchecked Sendable
Base class for all available tracks.
Note
This class acts as an abstract class.-
The URL to the timed file, e.g. WebVTT file.
Declaration
Swift
public let url: URL?
-
If set to
true
, this track would be considered as default.Declaration
Swift
public internal(set) var isDefaultTrack: Bool { get }
-
The label for this track.
Declaration
Swift
public private(set) var label: String { get }
-
The unique identifier for this track.
Declaration
Swift
public let identifier: String
-
The type for this track.
Declaration
Swift
public let type: TrackType