BNBVisualClipVideo

Objective-C

@interface BNBVisualClipVideo : NSObject
- (nonnull instancetype)initWithPath:(nonnull NSString *)path
                       startPosition:(float)startPosition
                            duration:(float)duration;
+ (nonnull instancetype)visualClipVideoWithPath:(nonnull NSString *)path
                                  startPosition:(float)startPosition
                                       duration:(float)duration;

/** absolute path to video */
@property (nonatomic, readonly, nonnull) NSString * path;

/** start position in seconds */
@property (nonatomic, readonly) float startPosition;

/** duration in seconds */
@property (nonatomic, readonly) float duration;

@end

Swift

class BNBVisualClipVideo : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithPath:(nonnull NSString *)path
                           startPosition:(float)startPosition
                                duration:(float)duration;

    Swift

    init(path: String, startPosition: Float, duration: Float)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)visualClipVideoWithPath:(nonnull NSString *)path
                                      startPosition:(float)startPosition
                                           duration:(float)duration;
  • absolute path to video

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *path;

    Swift

    var path: String { get }
  • start position in seconds

    Declaration

    Objective-C

    @property (nonatomic, readonly) float startPosition;

    Swift

    var startPosition: Float { get }
  • duration in seconds

    Declaration

    Objective-C

    @property (nonatomic, readonly) float duration;

    Swift

    var duration: Float { get }