SubtitleFormat

@objc(BMPSubtitleFormat)
public enum SubtitleFormat : Int
extension SubtitleFormat: CustomStringConvertible

This enum defines different subtitle formats supported by the player.

  • Web Video Text Tracks Format (WebVTT) subtitle format.

    Declaration

    Swift

    case webVtt
  • Timed Text Markup Language (TTML) subtitle format.

    Declaration

    Swift

    case ttml
  • cea

    Closed Captioning (CEA) subtitle format.

    Declaration

    Swift

    case cea
  • srt

    SubRip (SRT) subtitle format.

    Declaration

    Swift

    case srt
  • Declaration

    Swift

    public var description: String { get }