VideoTrimViewDelegate
@objc(PESDKVideoTrimViewDelegate)
public protocol VideoTrimViewDelegate : AnyObject
The VideoTrimViewDelegate
protocol defines methods that allow you to respond to the
events of an instance of VideoTrimView
.
-
Called when the user started dragging the scrubber.
Declaration
Swift
func videoTrimViewDidStartDraggingScrubber(_ videoTrimView: VideoTrimView)
Parameters
videoTrimView
The video trim view that this event occurred in.
-
Called when the user dragged the scrubber.
Declaration
Swift
func videoTrimView(_ videoTrimView: VideoTrimView, didDragScrubberTo time: CMTime)
Parameters
videoTrimView
The video trim view that this event occurred in.
time
The time that the scrubber was dragged to.
-
Called when the user stopped dragging the scrubber.
Declaration
Swift
func videoTrimViewDidStopDraggingScrubber(_ videoTrimView: VideoTrimView)
Parameters
videoTrimView
The video trim view that this event occurred in.
-
Called when the user started dragging the start or end time.
Declaration
Swift
func videoTrimViewDidStartDraggingStartOrEndTime(_ videoTrimView: VideoTrimView)
Parameters
videoTrimView
The video trim view that this event occurred in.
-
Called when the start time was changed.
Declaration
Swift
func videoTrimViewDidChangeStartTime(_ videoTrimView: VideoTrimView)
Parameters
videoTrimView
The video trim view that this event occurred in.
-
Called when the end time was changed.
Declaration
Swift
func videoTrimViewDidChangeEndTime(_ videoTrimView: VideoTrimView)
Parameters
videoTrimView
The video trim view that this event occurred in.
-
Called when the user stopped dragging the start or end time.
Declaration
Swift
func videoTrimViewDidStopDraggingStartOrEndTime(_ videoTrimView: VideoTrimView)
Parameters
videoTrimView
The video trim view that this event occurred in.