TextTrackKind

@objc(THEOplayerTextTrackKind)
public enum TextTrackKind : Int
extension TextTrackKind: Codable

Describes the kind of the text track.

  • The text track contains subtitles.

    Declaration

    Swift

    @objc(THEOplayerTextTrackKindSUBTITLES)
    case subtitles = 1
  • The text track contains closed captions, a translation of dialogue and sound effects.

    Declaration

    Swift

    @objc(THEOplayerTextTrackKindCAPTIONS)
    case captions = 2
  • The text track contains descriptions, a textual description of the video.

    Declaration

    Swift

    @objc(THEOplayerTextTrackKindDESCRIPTION)
    case description = 3
  • The text track contains chapter titles suitable for navigating the media resource.

    Declaration

    Swift

    @objc(THEOplayerTextTrackKindCHAPTERS)
    case chapters = 4
  • The text track contains metadata.

    Remark

    This track will not serve display purposes.

    Declaration

    Swift

    @objc(TextTrackKindMETADATA)
    case metadata = 5
  • The raw value of type String.

    Declaration

    Swift

    public var _rawValue: String { get set }