VideoClipToolControllerOptionsBuilder

@objcMembers
@objc(PESDKVideoClipToolControllerOptionsBuilder)
open class VideoClipToolControllerOptionsBuilder : ToolControllerOptionsBuilder

The default VideoClipToolControllerOptionsBuilder for VideoClipToolControllerOptions.

  • This closure allows further configuration of the video clip category buttons. The closure is called for each video clip category button and has the button and its corresponding video clip category as parameters.

    Declaration

    Swift

    open var videoClipCategoryButtonConfigurationClosure: ((MenuCollectionViewCell, VideoClipCategory) -> Void)?
  • This closure allows further configuration of the video clip buttons. The closure is called for each video clip button and has the button and its corresponding video clip as parameters.

    Declaration

    Swift

    open var videoClipButtonConfigurationClosure: ((VideoClipCollectionViewCell, VideoClip) -> Void)?
  • The index of the video clip category that should be selected when initially presenting the tool. If this index is larger than the number of available categories, the first category will be used. Default is 0.

    Declaration

    Swift

    open var defaultVideoClipCategoryIndex: Int
  • Whether the user can add personal video clips from the device’s video library. If true an action button is added as first item in the video clip category selection menu which modally presents an UIImagePickerController to add personal video clips to the video composition. Default is true.

    Declaration

    Swift

    open var personalVideoClipsEnabled: Bool
  • Creates a new instance of VideoClipToolControllerOptions initialized with the given options.

    Declaration

    Swift

    public init(options: VideoClipToolControllerOptions)

    Parameters

    options