XVideoPlayerMetadata class
Media metadata returned by XVideoPlayerBackend.initialize once the codec is ready.
Constructors
- XVideoPlayerMetadata({required Size size, required Duration duration, int rotationQuarterTurns = 0})
-
Binds the track's dimensions, length, and display rotation.
const
Properties
- duration → Duration
-
Total length of the media.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotationQuarterTurns → int
-
Number of 90° clockwise rotations the Flutter
Texturewidget needs so the rendered frame reads upright. Android and Windows always report 0 (the codec + GLES blit, and the Media Engine, apply the rotation upstream of Flutter). Apple reports the rotation derived from the video track'spreferredTransform—AVPlayerItemVideoOutputdelivers pixel buffers in the track's stored orientation, so theRotatedBoxwrapper applies it Dart-side.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
Display-oriented dimensions of a video frame, after the track's
rotation.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited