BMPCue


@interface BMPCue : NSObject <NSCopying>

Describes a subtitle cue.

  • The start time of the cue in seconds

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval startTime;

    Swift

    var startTime: TimeInterval { get set }
  • The end time of the cue in seconds

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval endTime;

    Swift

    var endTime: TimeInterval { get set }
  • The cue text as HTML. May be nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *html;

    Swift

    var html: String? { get set }
  • The cue text. May be nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *text;

    Swift

    var text: String? { get set }
  • The cue image. May be nil.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) int *image;

    Swift

    var image: NSImage? { get set }
  • The position of the cue. May be nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *position;

    Swift

    var position: String? { get set }
  • The region of the cue. May be nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *region;

    Swift

    var region: String? { get set }
  • The region style of the cue. May be nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *regionStyle;

    Swift

    var regionStyle: String? { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithStartTime:(NSTimeInterval)startTime
                              endTime:(NSTimeInterval)endTime
                                 html:(nullable NSString *)html
                                 text:(nullable NSString *)text
                                image:(nullable UIImage *)image
                             position:(nullable NSString *)position
                               region:(nullable NSString *)region
                          regionStyle:(nullable NSString *)regionStyle NS_DESIGNATED_INITIALIZER;

    Swift

    init(startTime: TimeInterval, endTime: TimeInterval, html: String?, text: String?, image: Any!, position: String?, region: String?, regionStyle: String?)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithStartTime:(NSTimeInterval)startTime
                              endTime:(NSTimeInterval)endTime
                                 text:(NSString *)text;

    Swift

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

    Declaration

    Objective-C

    - (instancetype)initWithStartTime:(NSTimeInterval)startTime
                              endTime:(NSTimeInterval)endTime
                                 html:(NSString *)html;

    Swift

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

    Declaration

    Objective-C

    - (instancetype)initWithStartTime:(NSTimeInterval)startTime
                              endTime:(NSTimeInterval)endTime
                                image:(UIImage *)image;

    Swift

    convenience init(startTime: TimeInterval, endTime: TimeInterval, image: Any!)