VideoClipToolControllerOptions

@objcMembers
@objc(PESDKVideoClipToolControllerOptions)
open class VideoClipToolControllerOptions : ToolControllerOptions

Options for configuring a VideoClipToolController.

  • 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

    public let 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

    public let 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

    public let 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

    public let personalVideoClipsEnabled: Bool
  • Creates a new instance of VideoClipToolControllerOptionsBuilder using the given builder.

    Declaration

    Swift

    public init(builder: VideoClipToolControllerOptionsBuilder)

    Parameters

    builder