ThumbnailTrack
@objcMembers
@objc(BMPThumbnailTrack)
public class ThumbnailTrack : Track
Describes a thumbnail track.
-
Creates a new thumbnail track based on the given URL and provided metadata.
Declaration
Swift
public init( url: URL, label: String, identifier: String, isDefaultTrack: Bool )Parameters
urlThe URL to the timed file, i.e. WebVTT file.
labelThe label for this track.
identifierThe unique identifier for this track.
isDefaultTrackIf set to
true, this track would be considered as default.Return Value
A new
ThumbnailTrackinitialized with the given thumbnail URL and the provided metadata.
ThumbnailTrack Class Reference