OfflineTextTrack

@objc(BMPOfflineTextTrack)
@objcMembers
public final class OfflineTextTrack : OfflineTrack

Represents a text track which can be selected to download for offline playback

  • The label for this track.

    Declaration

    Swift

    public let label: String
  • The IETF BCP 47 language tag associated with the text track.

    Declaration

    Swift

    public let language: String?
  • Tells if a text track is forced. If set to true it means that the player should automatically select and switch this text track according to the selected audio language.

    Declaration

    Swift

    public let isForced: Bool
  • If set to true, this track would be considered as default, i.e. it will be enabled automatically once the source has loaded.

    Declaration

    Swift

    public let isDefault: Bool