WebVttCue_Objc

@objc(THEOplayerWebVttCue)
public protocol WebVttCue_Objc : TextTrackCue_Objc

Web Video Text Tracks cue.

Remark

The content type is String.
  • The WebVTT cue text alignment, following the WebVTT specification.

    Declaration

    Swift

    var align: String { get }
  • The WebVTT cue line, following the WebVTT specification.

    Declaration

    Swift

    var line: String { get }
  • A string representing the WebVTT cue line alignment, following the WebVTT specification.

    Declaration

    Swift

    var lineAlign: String { get }
  • The WebVTT cue position, following the WebVTT specification.

    Declaration

    Swift

    var position: String { get }
  • A string representing the WebVTT cue position alignment, following the WebVTT specification.

    Declaration

    Swift

    var positionAlign: String { get }
  • The VTTRegion object to which this cue belongs, the WebVTTRegion objects follows the WebVTT specification for WebVTTRegions.

    Declaration

    Swift

    var region: String? { get }
  • The WebVTT cue size, following to the WebVTT specification.

    Declaration

    Swift

    var size: Int { get }
  • True if the WebVTT cue snap-to-lines flag is true, false otherwise, following the WebVTT specification.

    Declaration

    Swift

    var snapToLines: Bool { get }
  • The text track cue text in raw unparsed form, following to the WebVTT specification.

    Declaration

    Swift

    var text: String? { get }
  • A string representing the WebVTT cue writing direction, following the WebVTT specification.

    Declaration

    Swift

    var vertical: String { get }