BMPTrack

Objective-C


@interface BMPTrack : NSObject <NSCopying, BMPJsonable>

Swift

class Track : NSObject, NSCopying, BMPJsonable

Base class for all available tracks.

Note

This class acts as an abstract class.
  • url

    The URL to the timed file, e.g. WebVTT file.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSURL *url;

    Swift

    var url: URL? { get }
  • If set to YES, this track would be considered as default.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isDefaultTrack) BOOL defaultTrack;

    Swift

    var isDefaultTrack: Bool { get }
  • The label for this track.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull label;

    Swift

    var label: String { get }
  • The unique identifier for this track.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BMPTrackType type

    Swift

    var type: BMPTrackType { get }