PlayerEngine
A playback engine.
The extension point behind VideoPlayer. Implement it to plug in an engine, from Kotlin or from Swift, and register it with a PlayerEngineFactory. Consumers use VideoPlayer, which is the facade built on top of this.
Properties
Functions
Registers a listener for state, events, position and preview info.
Enters scrubbing mode, where seek accuracy may relax to keep up with a moving finger.
Seeks to position.
Loads a composition, or replaces the current one.
Sets the export this preview stands in for, so it renders at the HDR grade spec resolves to.
Loops within range, or plays straight through when null.
Restricts playback to range, or to the whole composition when null.
Sets how hard the preview may work.
Steps by whole frames, forwards for a positive count and backwards for a negative one.