Cue

@objcMembers
@objc(BMPCue)
public class Cue : NSObject, NSCopying

Describes a subtitle cue.

  • The start time of the cue in seconds

    Declaration

    Swift

    public var startTime: TimeInterval
  • The end time of the cue in seconds

    Declaration

    Swift

    public var endTime: TimeInterval
  • The cue text as HTML. May be nil.

    Declaration

    Swift

    public var html: String?
  • The cue text. May be nil.

    Declaration

    Swift

    public var text: String?
  • The cue image. May be nil.

    Declaration

    Swift

    public var image: UIImage?
  • The position of the cue. May be nil.

    Declaration

    Swift

    public var position: String?
  • The region of the cue. May be nil.

    Declaration

    Swift

    public var region: String?
  • The region style of the cue. May be nil.

    Declaration

    Swift

    public var regionStyle: String?
  • vtt

    The vtt positioning properties for this cue

    Declaration

    Swift

    public var vtt: VttProperties?
  • Undocumented

    Declaration

    Swift

    public init(
        startTime: TimeInterval,
        endTime: TimeInterval,
        html: String?,
        text: String?,
        image: UIImage?,
        position: String?,
        region: String?,
        regionStyle: String?,
        vttProperties: VttProperties?
    )
  • Undocumented

    Declaration

    Swift

    public convenience init(
        startTime: TimeInterval,
        endTime: TimeInterval,
        html: String?,
        text: String?,
        image: UIImage?,
        position: String?,
        region: String?,
        regionStyle: String?
    )
  • Undocumented

    Declaration

    Swift

    public convenience init(
        startTime: TimeInterval,
        endTime: TimeInterval,
        text: String
    )
  • Undocumented

    Declaration

    Swift

    public convenience init(
        startTime: TimeInterval,
        endTime: TimeInterval,
        text: String,
        vttProperties: VttProperties?
    )
  • Undocumented

    Declaration

    Swift

    public convenience init(
        startTime: TimeInterval,
        endTime: TimeInterval,
        html: String
    )
  • Undocumented

    Declaration

    Swift

    public convenience init(
        startTime: TimeInterval,
        endTime: TimeInterval,
        image: UIImage
    )