VideoUltraPlayerPlatform class abstract

The platform interface contract for NativeTimelinePlayer.

Platform implementations must extend this class and register themselves as VideoUltraPlayerPlatform.instance during plugin registration.

Inheritance
  • Object
  • PlatformInterface
  • VideoUltraPlayerPlatform
Implementers

Constructors

VideoUltraPlayerPlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose(int textureId) Future<void>
exportCurrentTimeline(int textureId, {String? outputPath}) Future<String>
Exports the currently loaded (and edited) timeline without requiring a separate clip list. Preview and export share the same native state.
exportProgress() Stream<TimelineExportProgress>
exportTimeline(List<Map<String, dynamic>> clips, {String? outputPath, Map<String, dynamic>? config}) Future<String>
insertClip(int textureId, int atIndex, Map<String, dynamic> clip) Future<void>
Inserts clip at position atIndex in the timeline.
load(List<Map<String, dynamic>> clips, {Map<String, dynamic>? config}) Future<int>
moveClip(int textureId, int fromIndex, int toIndex) Future<void>
Moves the clip at fromIndex to toIndex.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(int textureId) Future<void>
play(int textureId) Future<void>
removeClip(int textureId, int clipIndex) Future<void>
Removes the clip at clipIndex from the timeline.
replaceClip(int textureId, int clipIndex, Map<String, dynamic> clip) Future<void>
Replaces the clip at clipIndex with clip.
seekTo(int textureId, Duration position) Future<void>
seekToClip(int textureId, int clipIndex) Future<void>
setClipAlignment(int textureId, int clipIndex, double x, double y) Future<void>
setVolume(int textureId, double volume) Future<void>
splitClip(int textureId, int clipIndex, int atLocalPositionMs) Future<void>
Splits the clip at clipIndex at atLocalPositionMs milliseconds from its trim-start, producing two clips in its place.
stateStream(int textureId) Stream<TimelinePlayerState>
toString() String
A string representation of this object.
inherited
trimClip(int textureId, int clipIndex, {int? trimStartMs, int? trimEndMs}) Future<void>
Adjusts the trim in/out points of the clip at clipIndex.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance VideoUltraPlayerPlatform
getter/setter pair