AKFileClipSequence

open class AKFileClipSequence: NSObject, ClipMergeDelegate

A class that manages the merging of AKFileClips.

  • Clip merger delegate function

    Declaration

    Swift

    @objc open func newClip(from clip: AKClip, time: Double, offset: Double, duration: Double) -> AKClip?
  • A validated array of file clips. Fails if setting an invalid array of clips.

    Declaration

    Swift

    @objc open var clips: [AKFileClip]
  • Merges a clip into existing clips. Fails if clip is invalid.

    Declaration

    Swift

    @objc open func add(clip: AKFileClip)
  • Initialize a clip sequence with an array of clips.

    Declaration

    Swift

    @objc public init(clips: [AKFileClip])

    Parameters

    clips

    An array of file clips. Will not be set if clips are invalid.