ClipTrimToolControllerOptions
@objcMembers
@objc(PESDKClipTrimToolControllerOptions)
open class ClipTrimToolControllerOptions : TrimToolOptions
Options for configuring a ClipTrimToolController
.
-
This closure allows further configuration of the overlay buttons. The closure is called for each button and has the button and its corresponding enum value as parameters.
Declaration
Swift
public let overlayButtonConfigurationClosure: ((OverlayButton, ClipTrimOverlayAction) -> Void)?
-
Defines all allowed actions. Only buttons for allowed actions are visible. Defaults to show all available actions.
Declaration
Swift
public let allowedClipTrimOverlayActions: [ClipTrimOverlayAction]
-
This closure is called when the user selects an action.
Declaration
Swift
public let clipTrimOverlayActionSelectedClosure: ((ClipTrimOverlayAction) -> Void)?
-
Creates a new instance of
ClipTrimToolControllerOptions
using the given builder.Declaration
Swift
public init(builder: ClipTrimToolControllerOptionsBuilder)
Parameters
builder
An instance of
ClipTrimToolControllerOptionsBuilder
.