io.video.videokit.editor.Editor implementation keeps its internal state and
offers a way to register listener objects to listen to important events.
The editor state can be retrieved with
editor.state and, similar to other VideoKit
components, matches one of the constants in the
|Editor is in preview mode. This means that no segment was selected and video playback, if used, will play all segments serially.|
|A segment was selected using |
Editor events are dispatched to a
io.video.videokit.editor.EditorListener that was
previously registered using
Listeners are very important to be up-to-date about the editor state, handle errors and create a responsive UI. We describe the listener interface as comments in the interface description below.