VideoEditorControllerPlaybackSelection extension

on

Properties

clipAtPlayhead → VideoEditorClip?

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

The clip under the playhead.
no setter
currentTimePosition → double

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

no setter
totalDuration → Duration

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

no setter

Methods

clipIndexAt(Duration time) → int

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

Index of the clip playing at project time time, or -1 when empty.
clipStartTime(int index) → Duration

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

Project offset at which clip index starts.
deselectAll() → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

Clears the timeline selection (tap on empty timeline / preview).
pausePlayback() → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

seekTo(Duration time) → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

Moves the playhead and shows that frame in the preview.
setGlobalTime(Duration time) → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

Moves the playhead without touching the player (used while scrubbing).
setTimelineZoom(double zoom) → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

setViewMode(TimelineViewMode mode) → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension

togglePlayback() → void

Available on VideoEditorController, provided by the VideoEditorControllerPlaybackSelection extension