AudioTrimViewDelegate

@objc(PESDKAudioTrimViewDelegate)
public protocol AudioTrimViewDelegate : AnyObject

The AudioTrimViewDelegate protocol defines methods that allow you to respond to the events of an instance of AudioTrimView.

  • Called when the user started scrolling the audio track.

    Declaration

    Swift

    func audioTrimViewDidStartScrollingAudioTrack(_ audioTrimView: AudioTrimView)

    Parameters

    audioTrimView

    The audio trim view that this event occurred in.

  • Called when the user scrolled the audio track.

    Declaration

    Swift

    func audioTrimView(_ audioTrimView: AudioTrimView, didScrollAudioTrackTo startTime: CMTime)

    Parameters

    audioTrimView

    The audio trim view that this event occurred in.

    startTime

    The selected start time of the audio track.

  • Called when the user stopped scrolling the audio track.

    Declaration

    Swift

    func audioTrimViewDidStopScrollingAudioTrack(_ audioTrimView: AudioTrimView)

    Parameters

    audioTrimView

    The audio trim view that this event occurred in.