VideoTrimView

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKVideoTrimView)
open class VideoTrimView : UIView
extension VideoTrimView: VideoTrimSelectionViewDelegate

A view that displays keyframes of a video, a playback scrubber on top of the keyframes and a view on the left and right side of the keyframes to adjust start and end time.

Properties

  • The delegate object for this view.

    Declaration

    Swift

    public weak var delegate: VideoTrimViewDelegate?
  • The asset to load the keyframes for.

    Declaration

    Swift

    public var asset: AVAsset? { get set }
  • The width of each generated thumbnail.

    Declaration

    Swift

    public var thumbnailWidth: CGFloat { get set }
  • The start time that was selected.

    Declaration

    Swift

    public var startTime: CMTime? { get set }
  • The end time that was selected.

    Declaration

    Swift

    public var endTime: CMTime? { get set }
  • The current time.

    Declaration

    Swift

    public var currentTime: CMTime? { get set }

Scrubber

  • Displays the scrubber view.

    Declaration

    Swift

    open func play()
  • Hides the scrubber view.

    Declaration

    Swift

    open func pause()